Skip to content

Commit 840ebf7

Browse files
Fix CI triggers: Only run Python tests when Python files change
1 parent 37ddc56 commit 840ebf7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/py-unit-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ on:
99
branches:
1010
- main
1111
pull_request:
12+
paths:
13+
- 'openhands/**'
14+
- 'agenthub/**'
15+
- 'evaluation/**'
16+
- 'tests/**'
17+
- 'pyproject.toml'
18+
- 'poetry.lock'
19+
- '.github/workflows/py-unit-tests.yml'
1220

1321
# If triggered by a PR, it will be in the same group. However, each commit on main will be in its own unique group
1422
concurrency:

0 commit comments

Comments
 (0)