diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 2b1a07b..ab1c14f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: + - "3.7" + - "3.8" + - "3.9" + - "3.10" steps: - uses: actions/checkout@v2 @@ -24,9 +28,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Add poetry - uses: abatilo/actions-poetry@v2.0.0 + uses: abatilo/actions-poetry@v2.1.4 with: - poetry-version: "1.1" + poetry-version: "1.1.13" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 78d85fd..28cca46 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -14,7 +14,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9] + python-version: + - "3.10" steps: - uses: actions/checkout@v2 @@ -23,9 +24,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Add poetry - uses: abatilo/actions-poetry@v2.0.0 + uses: abatilo/actions-poetry@v2.1.4 with: - poetry-version: 1.1 + poetry-version: "1.1.13" - name: Install dependencies run: poetry install - name: Build and publish diff --git a/tox.ini b/tox.ini index 0b2e72d..4f04452 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,16 @@ [tox] isolated_build = True -envlist = py{36,37,38,39}-django{22,30,31} +envlist = + py37-django{22,30,31,32} + py{38,39}-django{22,30,31,32,40} + py310-django{32,40} [gh-actions] python = - 3.6: py36 3.7: py37 3.8: py38 3.9: py39 + 3.10: py310 [testenv] setenv = @@ -19,6 +22,8 @@ deps= django22: Django>=2.2,<2.3 django30: Django>=3.0,<3.1 django31: Django>=3.1,<3.2 + django32: Django>=3.2,<3.3 + django40: Django>=4.0,<4.1 [testenv:py39-django31] commands = make test-full