Skip to content

Commit

Permalink
test: Run mutation tests on sundays (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
skarllot authored Jun 8, 2024
1 parent 4f3e5fc commit 54e6bca
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/mutation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
name: Mutation Test

on:
push:
branches: [ "main" ]
paths: [ "src/**/packages.lock.json", "src/**/*.cs", "tests/**/packages.lock.json", "tests/**/*.cs", ".config/*.json" ]
pull_request:
branches: [ "main" ]
paths: [ "src/**/packages.lock.json", "src/**/*.cs", "tests/**/packages.lock.json", "tests/**/*.cs", ".config/*.json" ]
paths: [ ".github/workflows/mutation-test.yml", ".config/*.json" ]
workflow_dispatch:
schedule:
- cron: "0 3 * * 0"

env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
Expand Down Expand Up @@ -62,13 +62,6 @@ jobs:
run: |
dotnet tool restore
dotnet stryker -f .config/stryker-config.json -O StrykerOutput --dashboard-api-key ${{ secrets.STRYKER_DASHBOARD_API_KEY }} -v main
if: github.event_name != 'pull_request'

- name: 🧬 Stryker (Diff)
run: |
dotnet tool restore
dotnet stryker -f .config/stryker-config.json -O StrykerOutput -r html -r markdown --since:main
if: github.event_name == 'pull_request'
- name: 📤 Upload Mutation Report
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
Expand Down

0 comments on commit 54e6bca

Please sign in to comment.