Skip to content

Commit ada524f

Browse files
committed
CI: or maybe like this
1 parent 824366f commit ada524f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> "$GITHUB_ENV"
4747
- name: Generate coverage report
4848
run: |
49+
pdm use --venv in-project
50+
source .venv/bin/activate
4951
python -m coverage run --source=. -m runtests
5052
python -m coverage xml
5153
- name: Upload coverage to Codecov

.github/workflows/python-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,6 @@ jobs:
5353
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> "$GITHUB_ENV"
5454
- name: Test with unpythonic.test.fixtures
5555
run: |
56+
pdm use --venv in-project
57+
source .venv/bin/activate
5658
python runtests.py

0 commit comments

Comments
 (0)