Skip to content

Change workflow to trigger on PR on any branch (#453) #328

Change workflow to trigger on PR on any branch (#453)

Change workflow to trigger on PR on any branch (#453) #328

Workflow file for this run

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/**/*.*