Skip to content

Commit 26c01f5

Browse files
committed
ci: fix GitHub Actions workflows to create venv first
- Add 'uv venv' step before installing dependencies - Both test.yml and quality.yml updated
1 parent 1e207e6 commit 26c01f5

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/quality.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
- name: Set up Python
2222
run: uv python install 3.12
2323

24+
- name: Create virtual environment
25+
run: uv venv
26+
2427
- name: Install dependencies
2528
run: uv pip install -e ".[dev]"
2629

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- name: Set up Python ${{ matrix.python-version }}
2525
run: uv python install ${{ matrix.python-version }}
2626

27+
- name: Create virtual environment
28+
run: uv venv
29+
2730
- name: Install dependencies
2831
run: uv pip install -e ".[dev]"
2932

0 commit comments

Comments
 (0)