diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 38d13d5..8b7941a 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -44,20 +44,16 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [pypy3, 3.5.10, 3.6.15, 3.7.17, 3.8.18, 3.9.19] + python-version: [pypy3, 3.10, 3.11, 3.12] include: - python-version: pypy3 toxenv: pypy3 - - python-version: 3.5.10 - toxenv: py35 - - python-version: 3.6.15 - toxenv: py36 - - python-version: 3.7.17 - toxenv: py37 - - python-version: 3.8.18 - toxenv: py38 - - python-version: 3.9.19 - toxenv: py39 + - python-version: 3.10 + toxenv: py310 + - python-version: 3.11 + toxenv: py311 + - python-version: 3.12 + toxenv: py312 steps: - uses: actions/checkout@v2 @@ -74,14 +70,14 @@ jobs: env: TOXENV: ${{ matrix.toxenv }} - uses: codecov/codecov-action@v2 - if: ${{ matrix.python-version == '3.9.19' }} + if: ${{ matrix.python-version == '3.12' }} - name: "Build Package 📦" run: | git describe --tags --exact-match > VERSION || true python setup.py sdist bdist_wheel - uses: actions/upload-artifact@v2 # Only publish artifacts from Python latest build. - if: ${{ matrix.python-version == '3.9.19' }} + if: ${{ matrix.python-version == '3.12' }} with: name: dist path: dist/ diff --git a/tox.ini b/tox.ini index 267416d..5e2e267 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py35,py36,py37,py38,py39,pypy3,lint,docs +envlist = py310,py311,py312,pypy3,lint,docs [isort] multi_line_output=3