Skip to content

Commit

Permalink
switch to a venv
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote authored Apr 10, 2024
1 parent aff98ce commit a622785
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ jobs:
uses: actions/checkout@v4

- name: Install pip
run: apt update && apt install -y python3-pip
run: \
VENV=$(mktemp -d)
python -m venv $VENV
if [ -f $VENV/Scripts/activate ]; then
. $VENV/Scripts/activate
else
. $VENV/bin/activate
fi
python -m pip install -U pip setuptools

- name: Install pip dependencies
run: |
Expand Down

0 comments on commit a622785

Please sign in to comment.