Skip to content

Commit 4ea7d89

Browse files
authored
Merge pull request #13 from astrofrog/fix-activate
Fix activation of virtual environments for testing
2 parents 1377b85 + 1d01920 commit 4ea7d89

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ runs:
4343
shell: bash
4444
run: |
4545
python -m venv test-sdist
46-
test-sdist/bin/activate
46+
source test-sdist/bin/activate
4747
which python
4848
python -m pip install --force-reinstall `find dist -name "*.tar.gz"`[${{ inputs.test_extras }}]
4949
cd ${{ runner.temp }}
@@ -54,7 +54,7 @@ runs:
5454
shell: bash
5555
run: |
5656
python -m venv test-sdist
57-
test-sdist/bin/activate
57+
source test-sdist/bin/activate
5858
which python
5959
python -m pip install --force-reinstall `find dist -name "*.tar.gz"`
6060
cd ${{ runner.temp }}
@@ -72,7 +72,7 @@ runs:
7272
shell: bash
7373
run: |
7474
python -m venv test-wheel
75-
test-wheel/bin/activate
75+
source test-wheel/bin/activate
7676
which python
7777
python -m pip install --force-reinstall `find dist -name "*.whl"`[${{ inputs.test_extras }}]
7878
cd ${{ runner.temp }}
@@ -83,7 +83,7 @@ runs:
8383
shell: bash
8484
run: |
8585
python -m venv test-wheel
86-
test-wheel/bin/activate
86+
source test-wheel/bin/activate
8787
which python
8888
python -m pip install --force-reinstall `find dist -name "*.whl"`
8989
cd ${{ runner.temp }}

0 commit comments

Comments
 (0)