Skip to content

Commit 0b191e5

Browse files
committed
Sync tox envlist with CI envs
1 parent c09f3d2 commit 0b191e5

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ on:
99

1010
jobs:
1111
test:
12-
name: Test / OS ${{ matrix.os }} / Python ${{ matrix.python-version }}
12+
name: Tests
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
# python-version: ["3.8"]
1716
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1817
runs-on: ${{ matrix.os }}
1918
steps:
@@ -25,10 +24,12 @@ jobs:
2524
with:
2625
poetry-version: 1.3.2
2726
- run: |
28-
pip install tox
29-
tox
27+
pip install tox>=4
28+
pip install tox-gh>=1.2
29+
tox -re ${{ matrix.python-version }}
3030
31-
codecov:
31+
coverage:
32+
name: Codecov reports
3233
needs: test
3334
runs-on: ubuntu-latest
3435
steps:

tox.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
[tox]
22
isolated_build = True
3-
envlist = py37, py38, py39, py310, py311, py312
3+
envlist = py37, py38, py39, py310, py311
4+
5+
[gh]
6+
python =
7+
3.11 = py311
8+
3.10 = py310
9+
3.9 = py39
10+
3.8 = py38
11+
3.7 = py37
412

513
[testenv]
614
allowlist_externals = poetry

0 commit comments

Comments
 (0)