Skip to content

Commit 0b23968

Browse files
authored
run python tests if gh actions (#191)
1 parent e272a6c commit 0b23968

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/python_verify.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- 'environment/**/*.py'
1010
- 'tests/**/*.py'
1111
- 'jenkins/pipelines/**/*.py'
12+
- '**/pyproject.toml'
13+
- '**/pytest.ini'
14+
- '.github/workflows/*py*'
1215
pull_request:
1316
branches:
1417
- "**"
@@ -18,6 +21,7 @@ on:
1821
- 'environment/**/*.py'
1922
- 'tests/**/*.py'
2023
- 'jenkins/pipelines/**/*.py'
24+
- '.github/workflows/*py*'
2125

2226
jobs:
2327
mypy:
@@ -26,14 +30,17 @@ jobs:
2630
runs-on: ubuntu-latest
2731
steps:
2832
- uses: actions/checkout@v4
33+
- uses: astral-sh/setup-uv@v6
34+
with:
35+
version: "latest"
2936
- name: mypy validation
3037
working-directory: ${{github.workspace}}
3138
shell: bash
3239
run: .github/workflows/verify_python.sh
3340
python-format:
3441
runs-on: ubuntu-latest
3542
steps:
36-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
3744
- uses: astral-sh/ruff-action@v3
3845
with:
3946
args: 'format --check'

0 commit comments

Comments
 (0)