Skip to content

Commit a104a23

Browse files
committed
Updated CI to test on CPython 3.14 and PyPy 3.11 + lint with ruff
1 parent c827bfb commit a104a23

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1", "pypy-3.9", "pypy-3.10"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", '3.14.0-beta.4', "pypy-3.9", "pypy-3.10", "pypy-3.11"]
1717

1818
steps:
1919
- uses: actions/checkout@v4
@@ -23,8 +23,13 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install GreynirEngine
2525
run: |
26-
python -m pip install --upgrade pip wheel setuptools pytest
27-
python -m pip install -e .
26+
python -m pip install uv
27+
uv pip install --system pip wheel setuptools pytest
28+
uv pip install --system -e .
29+
- name: Lint with ruff
30+
run: |
31+
if [ "${{ matrix.python-version }}" == "3.9" ]; then uv pip install --system ruff; fi
32+
if [ "${{ matrix.python-version }}" == "3.9" ]; then ruff check src/islenska; fi
2833
- name: Test with pytest
2934
run: |
3035
python -m pytest

0 commit comments

Comments
 (0)