Skip to content

Commit

Permalink
Use a Python virtual env
Browse files Browse the repository at this point in the history
Ubuntu 24 really doesn't like running pip as root
  • Loading branch information
ndptech committed Oct 3, 2024
1 parent b9bcbfd commit df26eeb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci-scheduled-fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,10 @@ jobs:
run: |
export FILE=src/tests/fuzzer-corpus/$PROTOCOL.tar
if ! git diff --exit-code "$FILE"; then
sudo pip3 install --force-reinstall -I -U pyOpenSSL
sudo apt-get install -y python3-venv
python3 -m venv ~/.venv
. ~/.venv/bin/activate
pip install --force-reinstall -I -U pyOpenSSL
pip install PyGithub
git add "$FILE"
OID="$(git lfs ls-files -l -I "$FILE" | cut -f1 -d ' ')"
Expand Down

0 comments on commit df26eeb

Please sign in to comment.