Skip to content

Remove AutoFixture.Xunit2 dependency from CustomizeAttributeComparer #495

Remove AutoFixture.Xunit2 dependency from CustomizeAttributeComparer

Remove AutoFixture.Xunit2 dependency from CustomizeAttributeComparer #495

Workflow file for this run

name: '👾 Stryker.NET: Mutation testing'
on:
pull_request:
paths:
- 'stryker-config.yml'
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/test-mutations.yml'
- '.github/actions/materialize-signing-key/**'
types: [opened, synchronize, reopened]
push:
branches:
- 'master'
paths:
- 'stryker-config.yml'
- 'src/**'
- '!src/qodana.yml'
- '.github/workflows/test-mutations.yml'
- '.github/actions/materialize-signing-key/**'
workflow_dispatch:
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
Configuration: Release
defaults:
run:
shell: pwsh
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: 📥 checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🖊️ materialize signing key
id: signing-key
uses: ./.github/actions/materialize-signing-key
with:
signing-key-value: ${{ secrets.SIGNING_KEY }}
- name: 💾 install stryker.net
run: |
$ErrorActionPreference = 'stop'
dotnet new tool-manifest
if ($LastExitCode -ne 0) {
throw "dotnet new failed with exit code $LastExitCode"
}
dotnet tool install --local dotnet-stryker
if ($LastExitCode -ne 0) {
throw "dotnet tool install failed with exit code $LastExitCode"
}
- name: 👾 test mutations
working-directory: ./src
run: |
$ErrorActionPreference = 'stop'
dotnet tool run dotnet-stryker -f ../stryker-config.yml -r dashboard -v ${env:BRANCH_NAME} --dashboard-api-key ${env:API_KEY}
if ($LastExitCode -ne 0) {
throw "dotnet tool run failed with exit code $LastExitCode"
}
env:
API_KEY: ${{ secrets.STRYKER_API_KEY }}
BRANCH_NAME: ${{ github.ref_name }}
StrongNameKey: ${{ secrets.SIGNING_KEY }}
StrongNameKeyPath: ${{ steps.signing-key.outputs.file-path }}