Skip to content

Commit 8381e90

Browse files
committed
actions: Integrate tox-gh-actions
We were not running click 7.x and asyncclick tests. Address this. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 05b69cf commit 8381e90

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ jobs:
3535
with:
3636
python-version: ${{ matrix.python }}
3737
- name: Install dependencies
38-
run: python -m pip install tox
38+
run: python -m pip install tox tox-gh-actions
3939
- name: Run unit tests (via tox)
40-
# Run tox using the version of Python in `PATH`
41-
run: tox -e py
40+
run: tox
4241
docs:
4342
name: Build docs
4443
runs-on: ubuntu-latest

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,13 @@ commands =
3636
commands =
3737
sphinx-build -Wn -b html -d docs/_build/doctrees docs docs/_build/html
3838

39+
[gh-actions]
40+
python =
41+
3.8: py38
42+
3.9: py39
43+
3.10: py310
44+
3.11: py311
45+
3.12: py312
46+
3947
[coverage:run]
4048
branch = True

0 commit comments

Comments
 (0)