Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 23 additions & 33 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,45 +12,35 @@ concurrency:

jobs:
unit-tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-22.04

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- 3.9
- '3.10'
- '3.11'
- '3.12'
- '3.13'
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip
cache-dependency-path: 'requirements/*.txt'

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade 'tox>=4.0.0rc3'
name: Python ${{ matrix.python-version }}

- name: Run tox targets for ${{ matrix.python-version }}
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox

- name: Upload coverage data
uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ matrix.python-version }}
path: '.coverage.*'
if-no-files-found: error
retention-days: 1
include-hidden-files: true
- name: Upload coverage data
uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ matrix.python-version }}
path: '.coverage.*'
if-no-files-found: error
retention-days: 1
include-hidden-files: true

coverage:
name: Coverage
Expand Down
159 changes: 0 additions & 159 deletions requirements/compile.py

This file was deleted.

94 changes: 0 additions & 94 deletions requirements/py310-django32.txt

This file was deleted.

Loading