We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f7684c commit 251c867Copy full SHA for 251c867
1 file changed
tests/test_example.py
@@ -52,7 +52,10 @@ def test_template_defaults(tmp_path: Path):
52
catalog_info = tmp_path / "catalog-info.yaml"
53
assert catalog_info.exists()
54
run("./venv/bin/tox -p")
55
- run("./venv/bin/tox -e docs build -- -b linkcheck")
+ if not run_pipe("git tag --points-at HEAD"):
56
+ # Only run linkcheck if not on a tag, as the CI might not have pushed
57
+ # the docs for this tag yet, so we will fail
58
+ run("./venv/bin/tox -e docs build -- -b linkcheck")
59
run("./venv/bin/pip install build twine")
60
run("./venv/bin/python -m build")
61
run("./venv/bin/twine check --strict dist/*")
0 commit comments