Skip to content

Commit 378f406

Browse files
committed
Try another way of setting virtualenv
1 parent 18eacda commit 378f406

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,20 @@ jobs:
4141
- name: "Install dependencies"
4242
env:
4343
UV_CACHE_DIR: ~/.cache/uv
44-
VIRTUAL_ENV: ./.venv
4544
run: |
4645
python -m pip install --upgrade uv
4746
uv venv
47+
source ./.venv/bin/activate
4848
python -m uv pip install --upgrade .[dev]
4949
5050
- name: "Lint"
51-
env:
52-
VIRTUAL_ENV: ./.venv
5351
run: |
52+
source ./.venv/bin/activate
5453
make lint
5554
5655
- name: "Run tests"
57-
env:
58-
VIRTUAL_ENV: ./.venv
5956
run: |
57+
source ./.venv/bin/activate
6058
# We run tests against "." and not the tests directory as we test the README
6159
# and documentation.
6260
pytest -s -vvv --cov-fail-under 100 --cov=src/ --cov=tests . --cov-report=xml

0 commit comments

Comments
 (0)