Skip to content

Commit 1b73b19

Browse files
Merge branch 'main' into clarify_output
2 parents 64b9cb3 + daddfe4 commit 1b73b19

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/python_unit_tests.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ name: Python Unit Tests
22

33
on:
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

@@ -12,7 +18,7 @@ jobs:
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

0 commit comments

Comments
 (0)