Skip to content

Commit cb7188c

Browse files
authored
Create mutation-tests.yml
1 parent 00a03df commit cb7188c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/mutation-tests.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Running mutation tests
2+
3+
on:
4+
schedule:
5+
- cron: '* 13 * * 1'
6+
branches:
7+
- master
8+
9+
jobs:
10+
configuring-stryker:
11+
name: Running stryker
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 360
14+
steps:
15+
- name: Clone and checkout branch
16+
uses: actions/checkout@master
17+
18+
- name: Set up Node.js version
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: '12.x'
22+
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Inject Secrets
27+
env:
28+
SCOPES: ${{ secrets.scopes }}
29+
CLIENT_ID: ${{ secrets.client_id }}
30+
AUTHORITY: ${{ secrets.authority }}
31+
run: sudo sh scripts/populate-keys.sh
32+
33+
- name: Run the test
34+
run: npm run ci-test --if-present
35+
36+
- name: Installing stryker-cli
37+
run: npm install -g stryker-cli
38+
39+
- name: Running stryker
40+
run: stryker run

0 commit comments

Comments
 (0)