Skip to content

Commit afd3b3a

Browse files
authored
Install python3-venv and create virtual environment
Added python3-venv installation and set up a virtual environment.
1 parent 9d391d2 commit afd3b3a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

run-script.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@ fi
2020

2121
printf '::group::install general dependencies\n'
2222
sudo apt-get update -y
23-
sudo apt-get install -y wget curl python3-pip
23+
sudo apt-get install -y wget curl python3-pip python3-venv
2424
opam update -y
2525
eval $(opam env)
2626
opam install -y coq-core || true
27+
printf '::endgroup::\n'
28+
printf '::group::set up venv\n'
29+
"${PYTHON}" -m venv .venv
30+
. .venv/bin/activate
31+
PYTHON="$(which python3 || which python)"
2732
"${PYTHON}" -m pip install -r coq-tools/requirements.txt
2833
printf '::endgroup::\n'
2934

0 commit comments

Comments
 (0)