forked from easybuilders/easybuild-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1.34 KB
/
test.yml
File metadata and controls
40 lines (35 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: test building of EasyBuild documentation
on: [push, pull_request] # yamllint disable-line rule:truthy
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Codespell action
uses: codespell-project/actions-codespell@master
with:
check_filenames: true
ignore_words_list: atleast,ninjs,simpy,proovread,namd,precice
# filter out
# docs/js/asciinema-player-2.6.1.js as it is not markdown
# version-specific/supported-software.md as the software descriptions have spelling errors
skip: './docs/js/asciinema-player-2.6.1.js,./docs/version-specific/supported-software.md'
- name: check internal links
run: |
python ./.github/workflows/link_check.py
- name: install mkdocs
run: |
pip install -r requirements.txt
mkdocs --version
- name: build tutorial
# can't use --strict due to warnings being produced by mkdocs-redirect plugin
# because we are re-directing .html pages
# run: mkdocs build --strict
run: mkdocs build