-
-
Notifications
You must be signed in to change notification settings - Fork 51
43 lines (35 loc) · 935 Bytes
/
stryker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Mutation Testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
env:
AppVeyorBuild: true
steps:
- uses: actions/checkout@v2
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-quality: preview
dotnet-version: 9.0.x
- name: Install Stryker
run: dotnet tool install -g dotnet-stryker
- name: Build
working-directory: src/Tests/Stryker/Tests
run: dotnet build -c Debug
- name: Test
working-directory: src/Tests/Stryker/Tests
run: dotnet test -c Debug
- name: Mutate
working-directory: src/Tests/Stryker/Tests
run: dotnet-stryker
- name: Upload Results
uses: actions/upload-artifact@v4
with:
name: Stryker Results
path: ./**/StrykerOutput/**/*.*