Skip to content

Commit

Permalink
add paths to run tests only when relevant files are modified (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
younesbelkada authored Feb 19, 2024
1 parent 47c4d95 commit cf467d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: tests on transformers main
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'

jobs:
tests:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: tests
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'

jobs:
check_code_quality:
Expand Down

0 comments on commit cf467d8

Please sign in to comment.