Skip to content

Commit 824366f

Browse files
committed
CI: hmm, maybe like this
1 parent e60d66e commit 824366f

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +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
51-
coverage run --source=. -m runtests
52-
coverage xml
49+
python -m coverage run --source=. -m runtests
50+
python -m coverage xml
5351
- name: Upload coverage to Codecov
5452
uses: codecov/codecov-action@v1
5553
with:

.github/workflows/python-package.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33
#
4-
# This version is customized to use the local flake8rc and test with unpythonic.setup.fixtures.
4+
# This version is customized to install with pdm, use the local flake8rc, and test with unpythonic.setup.fixtures.
55

66
name: Python package
77

@@ -53,6 +53,4 @@ 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
5856
python runtests.py

0 commit comments

Comments
 (0)