Skip to content

Commit a37237a

Browse files
committed
update .github/workflows/weekly-docs.yaml to match .github/workflows/pr.yaml` build
1 parent 7fd61c3 commit a37237a

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/weekly-docs.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CodeEntropy Weekly Docs
1+
name: CodeEntropy Weekly Docs Build
22

33
on:
44
schedule:
@@ -19,6 +19,7 @@ jobs:
1919
os: [ubuntu-24.04, windows-2025, macos-15]
2020
python-version: ["3.12", "3.13", "3.14"]
2121
timeout-minutes: 30
22+
2223
steps:
2324
- name: Checkout repo
2425
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
@@ -31,11 +32,13 @@ jobs:
3132

3233
- name: Install python dependencies
3334
run: |
34-
pip install --upgrade pip
35-
pip install -e .[docs]
35+
python -m pip install --upgrade pip
36+
python -m pip install -e .[docs]
3637
37-
- name: Build docs
38-
run: cd docs && make
38+
- name: Build docs (warnings as errors)
39+
run: |
40+
make -C docs clean
41+
make -C docs html SPHINXOPTS="-W --keep-going"
3942
4043
- name: Upload docs artifacts on failure
4144
if: failure()

0 commit comments

Comments
 (0)