File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,12 @@ jobs:
3737 pdm install
3838 - name : Activate virtualenv
3939 run : |
40+ source .venv/bin/activate
4041 # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
4142 # https://stackoverflow.com/questions/74668349/how-to-activate-a-virtualenv-in-a-github-action
42- source .venv/bin/activate
4343 echo "PATH=$PATH" >> "$GITHUB_ENV"
4444 echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> "$GITHUB_ENV"
45+ echo "unset PYTHONHOME" >> "$GITHUB_ENV"
4546 - name : Generate coverage report
4647 run : |
4748 coverage run --source=. -m runtests
Original file line number Diff line number Diff line change @@ -44,11 +44,12 @@ jobs:
4444 pdm install
4545 - name : Activate virtualenv
4646 run : |
47+ source .venv/bin/activate
4748 # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
4849 # https://stackoverflow.com/questions/74668349/how-to-activate-a-virtualenv-in-a-github-action
49- source .venv/bin/activate
5050 echo "PATH=$PATH" >> "$GITHUB_ENV"
5151 echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> "$GITHUB_ENV"
52+ echo "unset PYTHONHOME" >> "$GITHUB_ENV"
5253 - name : Test with unpythonic.test.fixtures
5354 run : |
5455 python runtests.py
You can’t perform that action at this time.
0 commit comments