Skip to content

Commit

Permalink
Update python installer
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Oct 3, 2023
1 parent dbfcd31 commit caa167c
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/compliance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@ jobs:
image: quay.io/ohsu-comp-bio/slurm
options: --hostname slurmctl --cap-add sys_admin
steps:
- name: Install Python 3.7
run: |
curl https://pyenv.run | bash
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
exec "$SHELL"
pyenv install 3.7
pyenv global 3.7
- name: Install python version
uses: gabrielfalcao/pyenv-action@v11
with:
default: 3.7
command: pip install -U pip # upgrade pip after installing python

- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit caa167c

Please sign in to comment.