Skip to content

Commit 8c9fc06

Browse files
committed
use a venv
1 parent 064fbec commit 8c9fc06

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
python3 --version
20+
python3 -m venv $HOME/venv
21+
source $HOME/venv/bin/activate
2022
python3 -m pip install --upgrade pip
21-
pip3 install --break-system-packages tox
23+
pip3 install tox
2224
- name: Test with tox
23-
run: tox -e py,style
25+
run: |
26+
source $HOME/venv/bin/activate
27+
tox -e py,style

0 commit comments

Comments
 (0)