Skip to content

Commit 460346e

Browse files
committed
install coverage in the correct venv
1 parent 97bff17 commit 460346e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ jobs:
3737
pdm install
3838
- name: Install coverage tool in virtualenv
3939
run: |
40-
pdm use --venv in-project
41-
source .venv/bin/activate
42-
pip install coverage
40+
pdm run python -m ensurepip
41+
pdm run python -m pip install coverage
4342
- name: Generate coverage report
4443
run: |
4544
pdm use --venv in-project

0 commit comments

Comments
 (0)