| 1 |
name: test-doc |
| 2 |
on: [push, pull_request, workflow_dispatch] |
| 3 |
jobs: |
| 4 |
test-doc: |
| 5 |
runs-on: ubuntu-22.04 |
| 6 |
continue-on-error: true |
| 7 |
steps: |
| 8 |
- uses: actions/checkout@v4 |
| 9 |
- name: Set up Python |
| 10 |
uses: actions/setup-python@v5 |
| 11 |
with: |
| 12 |
python-version: '3.x' |
| 13 |
- name: Setup Node |
| 14 |
uses: actions/setup-node@v4 |
| 15 |
with: |
| 16 |
node-version: 20 |
| 17 |
- name: Install dependencies |
| 18 |
run: | |
| 19 |
python -m pip install --upgrade pip |
| 20 |
pip install -r tests-requirements.txt |
| 21 |
npm install -g remark-cli remark-validate-links |
| 22 |
- name: Check the doc |
| 23 |
run: | |
| 24 |
./scripts/check-doc.sh |