Skip to content

Commit

Permalink
update config.yml to use uv also
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Mar 16, 2024
1 parent 99fb434 commit 1a4e4b5
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,18 @@ jobs:
# Note that we the circleci node image installs stuff with a user "circleci", rather
# than root. So we need to tell npm where to install stuff.
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r ./docs/requirements.txt
pip install -U pip uv
uv venv
source .venv/bin/activate
uv pip install -r ./docs/requirements.txt
- save_cache:
paths:
- ./venv
key: v2-dependencies-python3.10-{{ checksum "./docs/requirements.txt" }}
- run:
name: Build docs
command: |
. venv/bin/activate
source .venv/bin/activate
cd docs/
make deploy_docs
cd ..
Expand All @@ -67,9 +68,9 @@ jobs:
command: |
npm set prefix=/home/circleci/npm
npm install -g --silent [email protected]
python3 -m venv venv
. venv/bin/activate
pip install -r ./docs/requirements.txt
pip install -U pip uv
uv venv
source .venv/bin/activate
- save_cache:
paths:
- ./venv
Expand All @@ -85,7 +86,7 @@ jobs:
# (This file tell Github Pages that we want to include all files in docs/, including those
# that start with an underscore like _static/).
command: |
. venv/bin/activate
source .venv/bin/activate
cd docs/
make deploy_docs
cd ..
Expand Down

0 comments on commit 1a4e4b5

Please sign in to comment.