Skip to content

Commit

Permalink
Fix continuous and presubmit tests (#47)
Browse files Browse the repository at this point in the history
* attempt to fix continuous test by adding apt-get update

* add '-y'

* add more '-y'
  • Loading branch information
bernardhan33 authored Jul 10, 2024
1 parent 91881cc commit 276a042
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ set -e
cd "${KOKORO_ARTIFACTS_DIR}/github/dataflux-pytorch"

function setup_virtual_envs() {
sudo apt-get -y update

echo Setting up Python virtual environment.
sudo apt install python3.8-venv
sudo apt install -y python3.8-venv
python3 -m venv venv
source venv/bin/activate
}
Expand Down
4 changes: 3 additions & 1 deletion kokoro/presubmit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ set -e
cd "${KOKORO_ARTIFACTS_DIR}/github/dataflux-pytorch"

function setup_virtual_envs() {
sudo apt-get -y update

echo Setting up Python virtual environment.
sudo apt install python3.8-venv
sudo apt install -y python3.8-venv
python3 -m venv venv
source venv/bin/activate
}
Expand Down

0 comments on commit 276a042

Please sign in to comment.