Skip to content

Commit ed70307

Browse files
committed
combine mutation tests into one workflow
1 parent 10b949e commit ed70307

File tree

2 files changed

+19
-67
lines changed

2 files changed

+19
-67
lines changed

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

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: mutation-tests-core
1+
name: mutation-tests
22

33
on:
44
push:
@@ -22,10 +22,21 @@ permissions:
2222

2323
jobs:
2424
build:
25-
name: Run Mutation Test
25+
name: Run Mutation Test ${{ matrix.target }}
2626
runs-on: windows-latest
2727
timeout-minutes: 60
2828

29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
name: [ core, legacy ]
33+
target: [ Core, Legacy ]
34+
include:
35+
- name: core
36+
target: Core
37+
- name: legacy
38+
target: Legacy
39+
2940
steps:
3041

3142
- name: Checkout code
@@ -53,11 +64,15 @@ jobs:
5364
- name: Build and Run Mutation Tests
5465
id: build
5566
shell: pwsh
56-
run: ./build.ps1 -Target MutationCore
67+
run: ./build.ps1 -Target Mutation${{ matrix.target }}
68+
69+
- name: downcase target
70+
run: |
71+
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
5772
5873
- name: Upload Mutation Report
5974
if: always()
6075
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
6176
with:
62-
name: mutation-report-core
77+
name: mutation-report-{{ matrix.name }}
6378
path: ./artifacts/mutation-report

0 commit comments

Comments
 (0)