|
8 | 8 | strategy: |
9 | 9 | fail-fast: false |
10 | 10 | matrix: |
11 | | - python-version: [ "3.10", "3.11", "3.12"] |
| 11 | + python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14"] |
12 | 12 | requirements-file: [ |
13 | 13 | dj42_cms41.txt, |
14 | 14 | dj42_cms50.txt, |
15 | 15 | dj50_cms50.txt, |
16 | 16 | dj51_cms50.txt, |
17 | | - dj52_cms50.txt |
| 17 | + dj52_cms50.txt, |
| 18 | + dj60_cms50.txt, |
18 | 19 | ] |
19 | 20 | os: [ |
20 | 21 | ubuntu-latest, |
21 | 22 | ] |
| 23 | + exclude: |
| 24 | + - python-version: "3.14" |
| 25 | + requirements-file: dj42_cms41.txt |
| 26 | + os: ubuntu-latest |
| 27 | + - python-version: "3.14" |
| 28 | + requirements-file: dj42_cms50.txt |
| 29 | + os: ubuntu-latest |
| 30 | + - python-version: "3.14" |
| 31 | + requirements-file: dj51_cms50.txt |
| 32 | + os: ubuntu-latest |
| 33 | + - python-version: "3.14" |
| 34 | + requirements-file: dj50_cms50.txt |
| 35 | + os: ubuntu-latest |
| 36 | + - python-version: "3.10" |
| 37 | + requirements-file: dj60_cms50.txt |
| 38 | + os: ubuntu-latest |
| 39 | + - python-version: "3.11" |
| 40 | + requirements-file: dj60_cms50.txt |
| 41 | + os: ubuntu-latest |
22 | 42 | steps: |
23 | 43 | - uses: actions/checkout@v5 |
24 | 44 | - name: Set up Python ${{ matrix.python-version }} |
25 | 45 | uses: actions/setup-python@v6 |
26 | 46 | with: |
27 | 47 | python-version: ${{ matrix.python-version }} |
| 48 | + - name: Install uv |
| 49 | + run: curl -LsSf https://astral.sh/uv/install.sh | sh |
28 | 50 | - name: Install system deps (cairo stack) |
29 | 51 | run: | |
30 | 52 | sudo apt-get update |
31 | 53 | sudo apt-get install -y \ |
32 | 54 | build-essential libcairo2-dev pkg-config python3-dev |
33 | 55 | - name: Install dependencies |
34 | 56 | run: | |
35 | | - python -m pip install --upgrade pip |
36 | | - pip install -r tests/requirements/${{ matrix.requirements-file }} |
37 | | - pip install . |
| 57 | + uv venv |
| 58 | + source .venv/bin/activate |
| 59 | + uv pip install -r tests/requirements/${{ matrix.requirements-file }} |
| 60 | + uv pip install . |
38 | 61 |
|
39 | 62 | - name: Run coverage |
40 | | - run: coverage run -m pytest |
| 63 | + run: | |
| 64 | + source .venv/bin/activate |
| 65 | + coverage run -m pytest |
41 | 66 |
|
42 | 67 | - name: Upload Coverage to Codecov |
43 | 68 | uses: codecov/codecov-action@v5.5.1 |
|
0 commit comments