Skip to content

Commit

Permalink
Move linkcheck from CI to tox
Browse files Browse the repository at this point in the history
If it's going to falsely break the builds on the regular, it's
not worth it.
  • Loading branch information
bskinn committed Dec 10, 2024
1 parent cad274f commit ee9b466
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ jobs:
cd doc
make doctest
- name: Run docs link check
run: |
cd doc
make linkcheck
- name: Lint code
run: tox -e flake8

Expand Down
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ envlist=
sdist_install
# Lints
flake8
# Sphinx link check
linkcheck

[testenv]
commands=
Expand Down Expand Up @@ -108,6 +110,13 @@ deps=interrogate
commands=
interrogate {posargs} conftest.py tests src

[testenv:linkcheck]
skip_install=True
deps=-rrequirements-dev.txt
commands=
cd doc
make linkcheck

[testenv:sdist_install]
commands=
python -Werror -c "import sphobjinv"
Expand Down

0 comments on commit ee9b466

Please sign in to comment.