diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 69ff1f992..259cfe842 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -8,7 +8,7 @@ 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', 3.11] steps: - uses: actions/checkout@v1 @@ -20,7 +20,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox tox-gh-actions + pip install tox==3.27.0 + pip install tox tox-gh-actions==2.10.0 - name: Run tests run: make tests TOX_PARALLEL_NO_SPINNER=1 diff --git a/Makefile b/Makefile index 670ed3fe2..188d13398 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ develop: tests: # skipping flake8 for now - pip3 install --upgrade --quiet tox && TOX_SKIP_ENV='flake|docs' tox + pip3 install --upgrade --quiet tox==3.27.0 && TOX_SKIP_ENV='flake|docs' tox version: python3 setup.py --version diff --git a/test-requirements.txt b/test-requirements.txt index 2f83e2ef6..282f5dc6f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ pytest==6.2.4 pytest-asyncio==0.15.1 pytest-cov==2.10.1 pytest-mock==3.6.1 -tox==3.20.1 +tox==3.27.0 pytest-timeout==1.4.2 urllib3_mock==0.3.3 responses>0.9.0 diff --git a/tox.ini b/tox.ini index b71363504..8e3d6c252 100644 --- a/tox.ini +++ b/tox.ini @@ -21,10 +21,11 @@ commands = [gh-actions] python = - 3.6: py36 3.7: py37 3.8: py38 3.9: py39 + '3.10': py310 + 3.11: py311 [flake8] max-line-length = 120