Skip to content

Commit c91512f

Browse files
committed
Add in CI check step
1 parent e0254f2 commit c91512f

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,23 @@ jobs:
5353
mkdocs build --strict
5454
(! git status --porcelain --untracked-files=no | grep '^.M') || (echo 'Docs are not up to date. Please run `make docs` locally then commit and upload the results.' && exit 1)
5555
56+
check-source-id-landing-pages-up-to-date:
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: Check out repository
60+
uses: actions/checkout@v4
61+
62+
- uses: actions/setup-python@v5
63+
with:
64+
python-version: "3.11"
65+
66+
- name: Check docs are up to date
67+
run: |
68+
which pip
69+
pip install -r requirements-docs.txt
70+
python docs/source-id-landing-pages/auto-generate-source-id-pages.py
71+
(! git status --porcelain --untracked-files=no | grep '^.M') || (echo 'Source ID landing pages are not up to date. Please run `make update-source-id-pages` locally then commit and upload the results.' && exit 1)
72+
5673
cvs-load-with-input4mips-validation:
5774
runs-on: ubuntu-latest
5875
# Ok if this fails, we just want to use it as a warning for us to update input4MIPs-validation

0 commit comments

Comments
 (0)