Skip to content

Commit

Permalink
chore(ci): Some hacks for uv
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Feb 18, 2024
1 parent 47570ce commit 3d4383f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ jobs:
cache: "pip"
cache-dependency-path: |
setup.cfg
- name: Install dependencies
- name: Prepare environment
run: |
docker pull redis:7-alpine
echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV # for uv to use the global interpreter
- name: Install dependencies
run: |
python -m pip install -U pip setuptools uv
python -m uv pip install -U -e '.[test]'
- name: Build the proxy
Expand Down Expand Up @@ -72,6 +75,9 @@ jobs:
cache: "pip"
cache-dependency-path: |
setup.cfg
- name: Prepare environment
run: |
echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV # for uv to use the global interpreter
- name: Install dependencies
run: |
python -m pip install -U pip setuptools uv
Expand Down

0 comments on commit 3d4383f

Please sign in to comment.