Skip to content

Commit

Permalink
ci: Add test for documentation works
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Feb 22, 2024
1 parent 51444ef commit c59b33b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@ jobs:
source .venv/bin/activate
pytest
pytest functests
doctest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Configure venv
run: |
pip install uv
uv venv
uv pip install -r requirements-dev.lock
- name: Run tests
run: |
source .venv/bin/activate
make -C doc apidoc linkcheck dirhtml
build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c59b33b

Please sign in to comment.