Skip to content

Commit

Permalink
actions: Integrate tox-gh-actions
Browse files Browse the repository at this point in the history
We were not running click 7.x and asyncclick tests. Address this.

Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed May 14, 2024
1 parent 05b69cf commit 8381e90
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: python -m pip install tox
run: python -m pip install tox tox-gh-actions
- name: Run unit tests (via tox)
# Run tox using the version of Python in `PATH`
run: tox -e py
run: tox
docs:
name: Build docs
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,13 @@ commands =
commands =
sphinx-build -Wn -b html -d docs/_build/doctrees docs docs/_build/html

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[coverage:run]
branch = True

0 comments on commit 8381e90

Please sign in to comment.