Skip to content

Commit ad6287f

Browse files
authored
Package with 3.13 (#10)
* Update python-package.yml * Update python-package.yml * Update python-package.yml * Change some names in the workflow
1 parent afed76e commit ad6287f

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,32 @@ name: Python package
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches:
9+
- main
910
pull_request:
10-
branches: [ "main" ]
11+
branches:
12+
- main
13+
- devel
14+
- packaging-updates
15+
types:
16+
- opened
17+
- reopened
18+
- synchronize
19+
- ready_for_review
20+
21+
22+
concurrency:
23+
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: ${{ github.event_name == 'pull_request'}}
1125

1226
jobs:
13-
build:
27+
build-lint-pytest:
1428

1529
runs-on: ubuntu-latest
1630
strategy:
1731
fail-fast: false
1832
matrix:
19-
python-version: ["3.9", "3.10", "3.11"]
33+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2034

2135
steps:
2236
- uses: actions/checkout@v4
@@ -27,7 +41,9 @@ jobs:
2741
- name: Install dependencies
2842
run: |
2943
python -m pip install --upgrade pip
44+
python -m pip install uv
3045
python -m pip install flake8 pytest
46+
uv pip compile pyproject.toml -o requirements.txt
3147
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3248
- name: Lint with flake8
3349
run: |

0 commit comments

Comments
 (0)