strategy:
fail-fast: false
matrix:
- python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 'pypy-2.7']
+ python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy-2.7"]
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
- name: Install dependencies
run: |
python --version
- python -m pip install --upgrade "pip<21.0" "setuptools<45" wheel
+ python -m pip install --upgrade pip setuptools wheel
pip --version
pip install --upgrade virtualenv tox tox-gh-actions
[tox]
minversion = 2.0
-envlist = py27,py3{4,5,6,7,8,9},pypy
+envlist = py27,py3{4,5,6,7,8,9,10},pypy
[testenv]
basepython =
py37: {env:TOXPYTHON:python3.7}
py38: {env:TOXPYTHON:python3.8}
py39: {env:TOXPYTHON:python3.9}
+ py310: {env:TOXPYTHON:python3.10}
pypy: {env:TOXPYTHON:pypy}
deps =
- pip < 19.2
- setuptools < 44
-rdevscripts/requirements/requirements_tests.txt
changedir = test
commands =
{envpython} -c "import struct; print(struct.calcsize('P') * 8)"
./test_all
passenv = HOME
-setenv =
- VIRTUALENV_PIP = 19.1.1
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
+ 3.10: py310
pypy-2.7: pypy