Skip to content

Commit ffc51bd

Browse files
committed
Move sphinx docs GH Action to it's own to allow parallelization
1 parent 9835e48 commit ffc51bd

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

.github/workflows/docs.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: sphinxdocs
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Set up Python
12+
uses: actions/setup-python@v5
13+
with:
14+
python-version: "3.12"
15+
16+
- name: Docs and Doctests
17+
# Only check docs on single version
18+
run: |
19+
make docs

.github/workflows/test.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- name: Set up Python ${{ matrix.python-version }}
1919
uses: actions/setup-python@v5
2020
with:
@@ -43,12 +43,6 @@ jobs:
4343
- name: Upload to codecov.io
4444
# Only upload coverage report for single version
4545
if: matrix.python-version == env.primary-python-version
46-
uses: codecov/codecov-action@v1.0.5
46+
uses: codecov/codecov-action@v4
4747
with:
4848
token: ${{ secrets.CODECOV_TOKEN }}
49-
50-
- name: Docs and Doctests
51-
# Only check docs on single version
52-
if: matrix.python-version >= env.primary-python-version
53-
run: |
54-
make docs

0 commit comments

Comments
 (0)