diff --git a/.github/workflows/website-checks.yml b/.github/workflows/website-checks.yml new file mode 100644 index 0000000..c9da7ca --- /dev/null +++ b/.github/workflows/website-checks.yml @@ -0,0 +1,21 @@ +--- +name: Website tests + +on: + pull_request: # To be removed + schedule: + - cron: "0 1 * * 1" # every Monday at 1am + workflow_dispatch: + +jobs: + links-check: + name: Links check using linkchecker + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install linkchecker + run: | + pipx install linkchecker + - name: Analysing the links of the website + run: | + linkchecker --check-extern --config=.linkcheckerrc --no-status https://kokkos.org diff --git a/.linkcheckerrc b/.linkcheckerrc new file mode 100644 index 0000000..44319f7 --- /dev/null +++ b/.linkcheckerrc @@ -0,0 +1,2 @@ +[filtering] +ignorewarnings=http-redirected