Skip to content

Commit

Permalink
Add missing venv setup step to docs jobs
Browse files Browse the repository at this point in the history
Both in the CI pipeline and the release job.
  • Loading branch information
nicholasjng committed Jan 17, 2024
1 parent 7a9bcf3 commit cc55b32
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
cache: pip
cache-dependency-path: |
requirements-dev.txt
requirements-docs.txt
pyproject.toml
- name: Install dependencies
run: |
Expand Down Expand Up @@ -63,6 +64,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python and dependencies
uses: actions/setup-python@v4
with:
python-version: 3.11
cache: pip
cache-dependency-path: |
requirements-dev.txt
requirements-docs.txt
pyproject.toml
- name: Install dependencies
run: |
pip install -r requirements-dev.txt -r requirements-docs.txt
pip install -e . --no-deps
- uses: ./.github/actions/mike-docs
with:
version: latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ jobs:
cache: pip
cache-dependency-path: |
requirements-dev.txt
requirements-docs.txt
pyproject.toml
- name: Install dependencies
run: |
pip install -r requirements-dev.txt -r requirements-docs.txt
pip install -e . --no-deps
- name: Build and check
run: |
python -m build
Expand Down

0 comments on commit cc55b32

Please sign in to comment.