Skip to content

Commit

Permalink
fix: add virtual environment creation steps to GitHub workflows for U…
Browse files Browse the repository at this point in the history
…V compatibility
  • Loading branch information
devin-ai-integration[bot] committed Nov 23, 2024
1 parent d0410d3 commit dcc9c57
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,19 @@ jobs:
path: |
~/.cache/uv
~/.uv
.venv
key: ${{ runner.os }}-uv-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-uv-
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Create and activate venv
run: |
python -m venv .venv
source .venv/bin/activate
- name: Install dependencies
run: |
uv pip install -e ".[test-docs,anthropic]"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
python-version: 3.9
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Create and activate venv
run: |
python -m venv .venv
source .venv/bin/activate
- name: Install dev dependencies
run: |
uv pip install -r requirements.txt
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,19 @@ jobs:
path: |
~/.cache/uv
~/.uv
.venv
key: ${{ runner.os }}-uv-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-uv-
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Create and activate venv
run: |
python -m venv .venv
source .venv/bin/activate
- name: Install dependencies
run: |
uv pip install -e ".[test-docs,anthropic]"
Expand Down

0 comments on commit dcc9c57

Please sign in to comment.