Skip to content

Commit cf8b4fe

Browse files
author
Steffen Meinecke
committed
revise docs_check test action
1 parent a3706f0 commit cf8b4fe

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/github_test_action.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -113,20 +113,14 @@ jobs:
113113
PYTHONPATH=$PYTHONPATH:$GITHUB_WORKSPACE python -m pytest -W error --nbmake -n=auto --nbmake-timeout=900 "./tutorials"
114114
115115
docs_check:
116+
needs: build
117+
name: Sphinx docs check
116118
runs-on: ubuntu-latest
117-
strategy:
118-
matrix:
119-
python-version: [ '3.9' ]
120119
steps:
121120
- uses: actions/checkout@v4
122-
- name: Set up Python ${{ matrix.python-version }}
123-
uses: actions/setup-python@v5
124-
with:
125-
python-version: ${{ matrix.python-version }}
126-
- name: Check docs for Python ${{ matrix.python-version }}
127-
uses: e2nIEE/sphinx-action@master
121+
- name: Check sphinx build
122+
uses: ammaraskar/[email protected]
128123
with:
129-
pre-build-command: "python -m pip install --upgrade pip;
130-
python -m pip install .[docs];"
124+
pre-build-command: "python -m pip install uv && uv pip install .[docs] --system --link-mode=copy"
131125
build-command: "sphinx-build -b html . _build -W"
132126
docs-folder: "doc/"

0 commit comments

Comments
 (0)