Skip to content

Commit

Permalink
Merge pull request #151 from JanMalte/patch-2
Browse files Browse the repository at this point in the history
ci: remove unsupported python versions from github actions
  • Loading branch information
mpasternak committed Jul 20, 2023
2 parents 988b8ff + eced83f commit 37af053
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
matrix:
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v1
Expand Down
23 changes: 10 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tox]
envlist = py{27,35,36}-django{18,19,110,111}
py{35,36,37,38}-django{111,20}
envlist =
py{27,35,36}-django{18,19,110,111}
py{35,36,37,38}-django{111,22}
py{36,37,38,39,310}-django{30,31,32}
py{38,39,310}-django{40,41}
[testenv]
Expand All @@ -15,16 +16,16 @@ deps =
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<1.12
django20: Django >=2.0.0,<3.0.0
django30: Django >=3.0,<3.1
django31: Django >=3.1,<3.2
django32: Django >=3.2
django40: Django >=4.0,<4.1
django41: Django ==4.1a1
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
django41: Django>=4.1,<4.2
setenv =
PIP_ALLOW_EXTERNAL=true
DJANGO_SETTINGS_MODULE=session_security.tests.project.settings
passenv = CI DISPLAY DBDIFF_* TEST_* TOX_* SAUCE_*
passenv = CI,DISPLAY,DBDIFF_*,TEST_*,TOX_*,SAUCE_*

[testenv:checkqa]
basepython = python2.7
Expand All @@ -35,10 +36,6 @@ deps =

[gh-actions]
python =
2.7: py27
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310

0 comments on commit 37af053

Please sign in to comment.