diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45a7a349..cf574537 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,12 @@ jobs: fail-fast: true matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9, '3.10.0-beta.1'] + python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11] + exclude: + - platform: macos-latest + python-version: 3.11 + - platform: windows-latest + python-version: 3.11 steps: - uses: actions/checkout@v3.1.0 @@ -53,7 +58,7 @@ jobs: PLATFORM: ${{ matrix.platform }} - name: "Upload coverage to Codecov" - if: ${{ runner.os }} == "Linux" + if: ${{ runner.os == 'Linux' && matrix.python-version == '3.9' }} uses: codecov/codecov-action@v3.1.1 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/tox.ini b/tox.ini index e4858ee8..142fabc7 100644 --- a/tox.ini +++ b/tox.ini @@ -4,19 +4,20 @@ skipsdist = false envlist = py36-django{20,21,22,30,31,32,main}-{linux,macos,windows} py37-django{20,21,22,30,31,32,main}-{linux,macos,windows} - py38-django{20,21,22,30,31,32,40,41,main}-{linux,macos,windows} - py39-django{20,21,22,30,31,32,40,41,main}-{linux,macos,windows} - py310-django{21,22,30,31,32,40,41,main}-{linux,macos,windows} + py38-django{21,22,30,31,32,40,41,main}-{linux,macos,windows} + py39-django{21,22,30,31,32,40,41,main}-{linux,macos,windows} + py310-django{22,30,31,32,40,41,main}-{linux,macos,windows} + py311-django{22,30,31,32,40,41,main}-{linux} skip_missing_interpreters = true [gh-actions] python = - 2.7: py27 3.6: py36 3.7: py37 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 [gh-actions:env] PLATFORM =