Skip to content

Commit

Permalink
TST: Fix flake8 and release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Dec 22, 2021
1 parent 1512acc commit 05fffbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Expand Up @@ -36,8 +36,9 @@ jobs:
run: |
cd ..
python -m venv testenv
testenv/bin/pip install pytest sphinx_automodapi/dist/*.whl
testenv/bin/pytest sphinx_automodapi
testenv/bin/pip install pip -U
testenv/bin/pip install pytest sphinx-automodapi/dist/*.whl
testenv/bin/pytest sphinx-automodapi/sphinx_automodapi/tests
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Expand Up @@ -32,6 +32,7 @@ platform =

[testenv:codestyle]
skip_install = true
changedir = {toxinidir}
description = Run all style and file checks with pre-commit
deps = flake8
commands = flake8 sphinx_automodapi
commands = flake8 sphinx_automodapi --count

0 comments on commit 05fffbd

Please sign in to comment.