build: make multi-framework workflow the default one for PRs as it do… #305
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mutation testing | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
permissions: | |
actions: write | |
checks: write | |
contents: read | |
deployments: read | |
issues: write | |
discussions: write | |
packages: read | |
pages: write | |
pull-requests: write | |
security-events: write | |
statuses: write | |
jobs: | |
vonage: | |
name: Vonage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Stryker | |
run: dotnet tool install -g dotnet-stryker | |
- name: Run mutation testing | |
run: | | |
cd Vonage | |
dotnet stryker --reporter "dashboard" --dashboard-api-key "${{ secrets.STRYKER_API_KEY }}" |