Skip to content

Commit 3dedf1b

Browse files
author
Michael Howitz
committed
Fix tests:
* main branch no longer supports Python 3.6
1 parent 02c2df7 commit 3dedf1b

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
"3.7",
2727
"3.8",
2828
"3.9",
29-
"3.10-dev",
30-
"pypy3",
29+
"3.10",
30+
"pypy-3.7",
3131
]
3232
pytest-version: [
3333
"5.3.*",
@@ -39,10 +39,12 @@ jobs:
3939
]
4040
exclude:
4141
# Only pytest 6.2+ supports Python 3.10
42-
- { python-version: "3.10-dev", pytest-version: "5.3.*" }
43-
- { python-version: "3.10-dev", pytest-version: "5.4.*" }
44-
- { python-version: "3.10-dev", pytest-version: "6.0.*" }
45-
- { python-version: "3.10-dev", pytest-version: "6.1.*" }
42+
- { python-version: "3.10", pytest-version: "5.3.*" }
43+
- { python-version: "3.10", pytest-version: "5.4.*" }
44+
- { python-version: "3.10", pytest-version: "6.0.*" }
45+
- { python-version: "3.10", pytest-version: "6.1.*" }
46+
# Main requires Python >= 3.7
47+
- { python-version: "3.6", pytest-version: "main" }
4648
steps:
4749
- uses: actions/checkout@v2
4850

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ max-line-length = 88
1111
[tox]
1212
envlist =
1313
linting
14-
py{36,37,38,39,py3}-pytest{53,54,60,61,62,main}
14+
py{36,37,38,39,py3}-pytest{53,54,60,61,62}
15+
py{37,38,39,py3}-pytest{main}
1516
py310-pytest{62,main}
1617
minversion = 3.17.1
1718

0 commit comments

Comments
 (0)