Skip to content

Commit

Permalink
chore: make sure python package is installed before docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi-De committed Mar 20, 2024
1 parent 2e4676c commit 4a691c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Documentation

on: [ push, pull_request, workflow_dispatch ]

Expand Down Expand Up @@ -27,4 +27,3 @@ jobs:
- name: Run tests
run: |
hatch run pytest
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ sphinx:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt
# Install our python package before building the docs
- method: pip
path: .

0 comments on commit 4a691c2

Please sign in to comment.