Skip to content

Commit 3b64b28

Browse files
committed
arghh
1 parent 6d8e94c commit 3b64b28

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ jobs:
4242
# https://stackoverflow.com/questions/74668349/how-to-activate-a-virtualenv-in-a-github-action
4343
echo "PATH=$PATH" >> "$GITHUB_ENV"
4444
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> "$GITHUB_ENV"
45-
echo "unset PYTHONHOME" >> "$GITHUB_ENV"
4645
- name: Generate coverage report
4746
run: |
47+
# coverage report
48+
# https://stackoverflow.com/questions/70137245/how-to-remove-an-environment-variable-on-github-actions
49+
unset PYTHONHOME
4850
coverage run --source=. -m runtests
4951
coverage xml
5052
- name: Upload coverage to Codecov

.github/workflows/python-package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
# https://stackoverflow.com/questions/74668349/how-to-activate-a-virtualenv-in-a-github-action
5050
echo "PATH=$PATH" >> "$GITHUB_ENV"
5151
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> "$GITHUB_ENV"
52-
echo "unset PYTHONHOME" >> "$GITHUB_ENV"
5352
- name: Test with unpythonic.test.fixtures
5453
run: |
54+
# run the tests
55+
# https://stackoverflow.com/questions/70137245/how-to-remove-an-environment-variable-on-github-actions
56+
unset PYTHONHOME
5557
python runtests.py

0 commit comments

Comments
 (0)