Skip to content

Commit b501e41

Browse files
committed
Fix link check, simplify naming
1 parent dcd0d7f commit b501e41

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/validate.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test website
1+
name: Test
22

33
on:
44
push:
@@ -75,19 +75,21 @@ jobs:
7575
name: Built site ${{ github.run_number }}
7676
path: ./_site
7777

78+
- name: Install link check dependencies
79+
run: pip install pytest-check-links
80+
7881
# TODO: we are not checking absolute links as pytest plugins does not support them
7982
- name: Check links
8083
run: |
81-
pip install pytest-check-links
8284
pytest _site/ --check-links \
8385
--check-links-ignore "https://.*linkedin.com/.*" \
8486
--check-links-ignore "/" \
85-
--check-links-ignore= ".github/images/netlify-preview.png"
87+
--check-links-ignore ".github/images/netlify-preview.png"
8688
8789
lighthouse:
8890

8991
runs-on: ubuntu-latest
90-
name: Check quality with Lighthouse
92+
name: Audit with Lighthouse
9193
needs: [build]
9294

9395
steps:

0 commit comments

Comments
 (0)