Skip to content

Commit

Permalink
further setup python environment
Browse files Browse the repository at this point in the history
  • Loading branch information
transistive committed Dec 4, 2021
1 parent 2a7c6b3 commit 77c126f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/testkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,16 @@ jobs:
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
# Python (needed for dummy driver and TestKit)
sudo apt-get install python3 python3-pip
git clone https://github.com/pyenv/pyenv.git .pyenv
export PYENV_ROOT=$PWD/.pyenv
export PATH=$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
pyenv install 3.9.2
pyenv rehash
pyenv global 3.9.2
python -m pip install --upgrade pip
python -m pip install coverage tox
- name: Run TestKit
env:
Expand Down

0 comments on commit 77c126f

Please sign in to comment.