Skip to content

Commit

Permalink
combine mutation tests into one workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnWu33 committed Oct 9, 2024
1 parent 10b949e commit 07aa44d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 67 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/mutation-tests-legacy.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mutation-tests-core
name: mutation-tests

on:
push:
Expand All @@ -22,10 +22,19 @@ permissions:

jobs:
build:
name: Run Mutation Test
name: Run Mutation Test ${{ matrix.target }}
runs-on: windows-latest
timeout-minutes: 60

strategy:
fail-fast: false
matrix:
include:
- name: core
target: Core
- name: legacy
target: Legacy

steps:

- name: Checkout code
Expand Down Expand Up @@ -53,11 +62,15 @@ jobs:
- name: Build and Run Mutation Tests
id: build
shell: pwsh
run: ./build.ps1 -Target MutationCore
run: ./build.ps1 -Target Mutation${{ matrix.target }}

- name: downcase target
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Upload Mutation Report
if: always()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: mutation-report-core
name: mutation-report-{{ matrix.name }}
path: ./artifacts/mutation-report

0 comments on commit 07aa44d

Please sign in to comment.