Skip to content

Commit 7ea75c7

Browse files
committed
Fix CI workflow: support Python >=3.11 and install project dependencies
1 parent 574a4fd commit 7ea75c7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/python-package.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11"]
19+
python-version: ["3.11", "3.12"]
2020

2121
steps:
2222
- uses: actions/checkout@v4
@@ -27,8 +27,8 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install flake8 pytest
31-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30+
python -m pip install flake8
31+
pip install -e ".[all]"
3232
- name: Lint with flake8
3333
run: |
3434
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)