Skip to content

Commit

Permalink
run workflows only if some folders are changed
Browse files Browse the repository at this point in the history
  • Loading branch information
YigitElma committed Sep 1, 2024
1 parent 2ebdf6a commit 765de4a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- 'devtools/**'
paths:
- 'desc/**'
- 'tests/benchmarks/**'
- 'requirements.txt'
- 'devtools/dev-requirements.txt'
- 'setup.cfg'
- '.github/workflows/benchmark.yml'
workflow_dispatch:
inputs:
debug_enabled:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/notebook_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
pull_request:
branches:
- master
paths:
- 'desc/**'
- 'docs/notebooks/**'
- 'requirements.txt'
- 'devtools/dev-requirements.txt'
- 'setup.cfg'
- '.github/workflows/notebook_tests.yml'
workflow_dispatch:

concurrency:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/regression_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
pull_request:
branches:
- master
paths:
- 'desc/**'
- 'tests/**'
- 'requirements.txt'
- 'devtools/dev-requirements.txt'
- 'setup.cfg'
- '.github/workflows/regression_tests.yml'
workflow_dispatch:

concurrency:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
pull_request:
branches:
- master
paths:
- 'desc/**'
- 'tests/**'
- 'requirements.txt'
- 'devtools/dev-requirements.txt'
- 'setup.cfg'
- '.github/workflows/unit_tests.yml'
workflow_dispatch:

concurrency:
Expand Down

0 comments on commit 765de4a

Please sign in to comment.