Skip to content

Commit 81409d0

Browse files
committed
Add a link checker
1 parent fd74cff commit 81409d0

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/website-checks.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Website tests
3+
4+
on:
5+
pull_request: # To be removed
6+
schedule:
7+
- cron: "0 1 * * 1" # every Monday at 1am
8+
workflow_dispatch:
9+
10+
jobs:
11+
links-check:
12+
name: Links check using linkchecker
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Install linkchecker
17+
run: |
18+
pipx install linkchecker
19+
- name: Analysing the links of the website
20+
run: |
21+
linkchecker --check-extern --config=.linkcheckerrc --no-status https://kokkos.org

.linkcheckerrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[filtering]
2+
ignorewarnings=http-redirected

0 commit comments

Comments
 (0)