Skip to content

Commit

Permalink
Chore: Fix tox
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondEvil committed Aug 19, 2023
1 parent 112c48f commit d0eebe5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: python -m pip install --upgrade pip

- name: Install tox
run: python -m pip install --upgrade tox
run: python -m pip install tox==4.8.0

- name: Build docs with tox
run: tox -e docs
Expand Down Expand Up @@ -89,22 +89,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.9"]
include:
- os: ubuntu-latest
python-version: "3.10"
with-coverage: true

- os: ubuntu-latest
python-version: pypy3.9
tox-env: py3.9
- os: windows-latest
python-version: pypy3.9
tox-env: py3.9
- os: macos-latest
python-version: pypy3.9
tox-env: py3.9

- os: ubuntu-latest
python-version: 3.11-dev
tox-env: devel
Expand Down Expand Up @@ -135,7 +125,7 @@ jobs:
run: python -m pip install --upgrade pip

- name: Install tox
run: python -m pip install --upgrade tox
run: python -m pip install tox==4.8.0

- name: Cache tox virtual environment
uses: actions/cache@v3
Expand Down Expand Up @@ -175,12 +165,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.9"]
include:
- python-version: "3.10"
with-coverage: true
- python-version: pypy3.9
tox-env: py3.9
- python-version: 3.11-dev
tox-env: devel

Expand All @@ -207,7 +195,7 @@ jobs:
run: python -m pip install --upgrade pip

- name: Install tox
run: python -m pip install --upgrade tox
run: python -m pip install tox==4.8.0

- name: Cache tox virtual environment
uses: actions/cache@v3
Expand Down Expand Up @@ -247,10 +235,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.9"]
include:
- python-version: pypy3.9
tox-env: py3.9
- python-version: 3.11-dev
tox-env: devel

Expand All @@ -277,7 +263,7 @@ jobs:
run: python -m pip install --upgrade pip

- name: Install tox
run: python -m pip install --upgrade tox
run: python -m pip install tox==4.8.0

- name: Cache tox virtual environment
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{3.7, 3.8, 3.9, 3.10, py3.9}, docs, linting
envlist = {3.7, 3.8, 3.9, 3.10, pypy3.9}, docs, linting
isolated_build = True

[testenv]
Expand Down

0 comments on commit d0eebe5

Please sign in to comment.