Skip to content

Commit

Permalink
github: move make doc-linkcheck to Tiobe TICS job (#14245)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomponline authored Oct 9, 2024
2 parents 0f36e0c + 15ad72f commit f0cd5de
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,13 @@ jobs:
calc: ALL
tmpdir: /tmp/tics

# Verify doc links work
- name: Run link checker
shell: 'script -q -e -c "export TERM=xterm-256color; bash {0}"'
run: |
set -eux
make doc-linkcheck
client:
name: Client
strategy:
Expand Down Expand Up @@ -547,13 +554,9 @@ jobs:
fail-on-error: true
woke-args: "*.md **/*.md -c https://github.com/canonical/Inclusive-naming/raw/main/config.yml"

- name: Run link checker
# Run link checker on PRs only
if: ${{ github.event_name != 'push' }}
shell: 'script -q -e -c "export TERM=xterm-256color; bash {0}"'
run: |
set -eux
make doc-linkcheck
# XXX: not running `make doc-linkcheck` here as it often fails due to
# remote sites applying rate limits. It is instead ran on a schedule
# along with Tiobe TICS

- name: Upload documentation artifacts
if: always()
Expand Down

0 comments on commit f0cd5de

Please sign in to comment.