Reduce test matrix to just the oldest and newest Python versions

Testing the versions in between doesn't really bring much benefit, and
it becomes impractical when the range of supported versions grows.
This commit is contained in:
dgelessus 2021-11-21 18:24:17 +01:00
parent 5c3bc5d7e5
commit f437ee5f43
2 changed files with 3 additions and 8 deletions

View File

@ -10,12 +10,6 @@ jobs:
- uses: actions/setup-python@v1
with:
python-version: "3.6"
- uses: actions/setup-python@v1
with:
python-version: "3.7"
- uses: actions/setup-python@v1
with:
python-version: "3.8"
- uses: actions/setup-python@v1
with:
python-version: "3.9"

View File

@ -1,6 +1,7 @@
[tox]
# When adding a new Python version here, please also update the list of Python versions called by the GitHub Actions workflow (.github/workflows/ci.yml).
envlist = py{36,37,38,39},flake8,mypy,package
# When updating the Python versions here,
# please also update the corresponding Python versions in the GitHub Actions workflow (.github/workflows/ci.yml).
envlist = py{36,39},flake8,mypy,package
[testenv]
commands = python -m unittest discover --start-directory ./tests