Skip to content

Commit

Permalink
Run tests only on relevant changes
Browse files Browse the repository at this point in the history
The mutants tests are getting time consuming and there's no need to run
them on every change to the book
  • Loading branch information
sourcefrog committed Jan 11, 2024
1 parent e8f0ccc commit 4c9152e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ on:
branches:
- main
pull_request:
paths:
- ".cargo/**"
- ".github/workflows/tests.yml"
- "Cargo.*"
- "mutants_attrs/**"
- "src/**"
- "testdata/**"
- "tests/**"

# see https://matklad.github.io/2021/09/04/fast-rust-builds.html
env:
Expand Down

0 comments on commit 4c9152e

Please sign in to comment.