Skip to content

Commit e43d23e

Browse files
committed
CI: ugh
1 parent 32d8944 commit e43d23e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
- name: Generate coverage report
3434
run: |
3535
pip install coverage
36-
source .venv/bin/activate
36+
# For some reason, the install step creates the venv one directory too deep. Maybe doesn't matter.
37+
source /home/runner/work/unpythonic/unpythonic/.venv/bin/activate
3738
coverage run --source=. -m runtests
3839
coverage xml
39-
working-directory: /home/runner/work/unpythonic/
4040
- name: Upload coverage to Codecov
4141
uses: codecov/codecov-action@v1
4242
with:

.github/workflows/python-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ jobs:
3838
flake8 . --config=flake8rc --count --select=E9,F63,F7,F82 --show-source --statistics
3939
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4040
flake8 . --config=flake8rc --count --exit-zero --max-complexity=100 --max-line-length=127 --statistics
41-
working-directory: /home/runner/work/unpythonic/
4241
- name: Test with unpythonic.test.fixtures
4342
run: |
44-
source .venv/bin/activate
43+
# For some reason, the install step creates the venv one directory too deep. Maybe doesn't matter.
44+
source /home/runner/work/unpythonic/unpythonic/.venv/bin/activate
4545
python runtests.py
46-
working-directory: /home/runner/work/unpythonic/

0 commit comments

Comments
 (0)