Skip to content

Commit

Permalink
Remove py36 and add py310
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyrno42 committed May 9, 2022
1 parent ae0b2bd commit 1dc9677
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.9]
python-version:
- "3.10"

steps:
- uses: actions/checkout@v2
Expand All @@ -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
Expand Down
9 changes: 7 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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 =
Expand All @@ -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

0 comments on commit 1dc9677

Please sign in to comment.