Skip to content

Commit 021d160

Browse files
committed
chg: Use poetry v2+ format for pyproject.toml
1 parent 90fc13b commit 021d160

File tree

3 files changed

+205
-138
lines changed

3 files changed

+205
-138
lines changed

.github/workflows/python-app.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,27 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
17+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
1818

1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121
- name: Setup Python # Set Python version
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install dependencies
2626
run: |
27-
python -m pip install -U pip
28-
pip install pytest playwright
29-
playwright install-deps
30-
playwright install chromium firefox
31-
pip install -e ".[test]"
27+
python -m pip install --upgrade pip poetry
28+
poetry install --with dev
29+
poetry run playwright install-deps
30+
poetry run playwright install
3231
- name: Test with pytest
3332
run: |
34-
pytest
33+
poetry run pytest
3534
lint:
3635
runs-on: ubuntu-latest
3736
steps:
38-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v5
3938
- uses: actions/setup-python@v5
4039
with:
4140
python-version: '3.13'

0 commit comments

Comments
 (0)