File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,13 @@ jobs:
5050
5151 - name : Setup environment
5252 run : |
53- python -m pip install --upgrade pip
54- python -m pip install build
53+ python -m venv venv
54+ venv/bin/python -m pip install --upgrade pip
55+ venv/bin/python -m pip install build
5556
5657 - name : Build sdist and wheel
5758 run : |
58- python -m build
59+ venv/bin/ python -m build
5960
6061 - name : Publish package files
6162 if : always()
@@ -128,17 +129,18 @@ jobs:
128129
129130 - name : Setup environment
130131 run : |
131- python --version --version
132+ python -m venv venv
133+ venv/bin/python --version --version
132134 # make sure we test the installed code
133135 cp -R repo/tests/ .
134- python -m pip install --upgrade pip
135- python -m pip install ./dist/*.whl
136+ venv/bin/ python -m pip install --upgrade pip
137+ venv/bin/ python -m pip install ./dist/*.whl
136138 # make sure bitstring at least looks like what we want
137- python -c 'import bitstring; print(bitstring); assert bitstring.__file__.endswith("/site-packages/bitstring.py")'
139+ venv/bin/ python -c 'import bitstring; print(bitstring); assert bitstring.__file__.endswith("/site-packages/bitstring.py")'
138140
139141 - name : Run unittest
140142 run : |
141- python -m unittest
143+ venv/bin/ python -m unittest
142144
143145 all :
144146 name : All successful
You can’t perform that action at this time.
0 commit comments