diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 405ed54..0be229e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ on: jobs: test: name: "Test Python ${{ matrix.python-version }}" - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" strategy: matrix: python-version: [ @@ -17,6 +17,7 @@ jobs: "3.10", "3.11", "3.12", + "3.13", ] steps: - name: "Check out repository" @@ -32,10 +33,10 @@ jobs: - name: "Install tox" run: | python -m pip install --upgrade pip - pip install tox tox-gh-actions + pip install tox - name: "Run tox" run: | - tox -- --cov fixity --cov-config .coveragerc --cov-report xml:coverage.xml + tox -e py3 -- --cov fixity --cov-config .coveragerc --cov-report xml:coverage.xml - name: "Upload coverage report" if: github.repository == 'artefactual/fixity' uses: "codecov/codecov-action@v4" @@ -47,14 +48,14 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} lint: name: "Lint" - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" steps: - name: "Check out repository" uses: "actions/checkout@v4" - name: "Set up Python" uses: "actions/setup-python@v5" with: - python-version: "3.12" + python-version: "3.x" cache-dependency-path: | requirements.txt requirements-dev.txt diff --git a/pyproject.toml b/pyproject.toml index 0c8d965..63224be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] authors = [ {name = "Artefactual Systems Inc.", email = "info@artefactual.com"} @@ -106,14 +107,7 @@ omit = [ [tool.tox] legacy_tox_ini = """ [tox] - envlist = py{39,310,311,312}, linting - - [gh-actions] - python = - 3.9: py39 - 3.10: py310 - 3.11: py311 - 3.12: py312 + envlist = py3{9,10,11,12,13}, linting [testenv] skip_install = true