Skip to content

Commit

Permalink
add paths to run tests only when relevant files are modified (huggi…
Browse files Browse the repository at this point in the history
  • Loading branch information
younesbelkada authored and BenjaminBossan committed Mar 14, 2024
1 parent 9c6ff24 commit 03b45a7
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 03b45a7

Please sign in to comment.