Skip to content

Commit 031c8bd

Browse files
committed
#58 ignore stryke
1 parent 21c441c commit 031c8bd

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

.github/workflows/CI-mutation-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Running mutation tests
22

33
on:
4-
pull_request:
5-
types: [opened, edited, reopened, synchronize]
4+
schedule:
5+
- cron: '* 13 * * 1'
66
branches:
7-
- stryker
7+
- master
88

99
jobs:
1010
configuring-stryker:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ yarn-error.log
4141
testem.log
4242
/typings
4343
.keys.json
44+
**keys.ts
4445
src/environments/keys.ts
45-
keys.ts
46+
4647
# System Files
4748
.DS_Store
4849
Thumbs.db

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,20 @@ Run `ng build` to build the project. The build artifacts will be stored in the `
4848

4949
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
5050

51+
## Running mutation tests
52+
Mutation tests have been enabled using stryker. You can run those tests locally, it takes ~4 hours to have the results. If you want to run them locally please install stryker locally:
53+
```
54+
npm install -g stryker-cli
55+
```
56+
57+
Now, run stryker:
58+
```
59+
stryker run
60+
```
61+
62+
Stryker is also executed on GitHub actions with the following cron expresion:
63+
64+
5165
## Running end-to-end tests
5266

5367
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

0 commit comments

Comments
 (0)