| 1 |
name: check |
| 2 |
on: |
| 3 |
workflow_call: |
| 4 |
|
| 5 |
permissions: {} |
| 6 |
|
| 7 |
jobs: |
| 8 |
docs: |
| 9 |
name: Build docs |
| 10 |
runs-on: ubuntu-latest |
| 11 |
env: |
| 12 |
PY_COLORS: 1 |
| 13 |
TOX_PARALLEL_NO_SPINNER: 1 |
| 14 |
steps: |
| 15 |
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
| 16 |
with: |
| 17 |
persist-credentials: false |
| 18 |
|
| 19 |
- name: Setup Python 3.12 |
| 20 |
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 |
| 21 |
with: |
| 22 |
python-version: "3.12" |
| 23 |
|
| 24 |
- name: Install tox |
| 25 |
run: python -m pip install tox |
| 26 |
|
| 27 |
- name: Setup run environment |
| 28 |
run: tox -vv --notest -e docs |
| 29 |
|
| 30 |
- name: Run check for docs |
| 31 |
run: tox -e docs --skip-pkg-install |