File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,13 @@ name: Python Unit Tests
22
33on :
44 pull_request :
5+ paths :
6+ - ' **.py'
7+ - ' .github/workflows/python_unit_tests.yaml'
58 push :
9+ paths :
10+ - ' **.py'
11+ - ' .github/workflows/python_unit_tests.yaml'
612 branches : [main, 'releases/**']
713 workflow_dispatch :
814
1218 python_unit_tests :
1319 name : python_unit_tests
1420 runs-on : ubuntu-24.04
15- timeout-minutes : 10
21+ timeout-minutes : 5
1622
1723 steps :
1824 - uses : actions/checkout@v5
@@ -22,16 +28,15 @@ jobs:
2228 python-version : ' 3.14'
2329 - name : Install dependencies
2430 run : |
25- # We only have 1 external dependency other than pytest for now, so
31+ # We only have 2 external dependencies other than pytest for now, so
2632 # list them here
2733 # If this changes, we may want to switch to a dependencies file of
2834 # some format
2935 python -m pip install --upgrade pip
30- pip install pytest
31- pip install networkx
32- pip install PyYAML
36+ pip install pytest networkx PyYAML
3337 - name : Test with pytest
3438 run : |
39+ # Setup git for git_bdiff and get_git_sources testing
3540 git config --global user.name 'Testing'
3641 git config --global user.email 'Testing'
3742 pytest -vv
You can’t perform that action at this time.
0 commit comments