Commit 41e06e4 1 parent 41d4e8d commit 41e06e4 Copy full SHA for 41e06e4
File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 25
25
name : ${{ matrix.os }}
26
26
runs-on : ${{ matrix.os }}
27
27
28
+ env :
29
+ # HACK Running on Windows instead of Linux due to https://github.com/stryker-mutator/stryker-net/issues/2741
30
+ RUN_MUTATION_TESTS : ${{ matrix.os_name == 'windows' && !startsWith(github.ref, 'refs/tags/') && 'true' || 'false' }}
31
+
28
32
strategy :
29
33
fail-fast : false
30
34
matrix :
57
61
- name : Build, Test and Package
58
62
shell : pwsh
59
63
run : ./build.ps1
60
- env :
61
- RUN_MUTATION_TESTS : ${{ matrix.os_name == 'linux' && !startsWith(github.ref, 'refs/tags/') && 'true' || 'false' }}
62
64
63
65
- name : Upload Coverage Reports
64
66
if : always()
75
77
flags : ${{ matrix.os_name }}
76
78
77
79
- name : Upload Mutation Report
78
- if : always() && matrix.os_name == 'linux' && !startsWith(github.ref, 'refs/tags/')
80
+ if : always() && env.RUN_MUTATION_TESTS == 'true'
79
81
uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
80
82
with :
81
83
name : mutation-report
You can’t perform that action at this time.
0 commit comments