Skip to content

Commit

Permalink
[ci] Launch CI on 4 latest python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nrybowski committed Dec 20, 2024
1 parent 9e4bff8 commit 00fb74f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:

# The type of runner that the job will run on
runs-on: ubuntu-20.04
env:
PYENV_ROOT: "$HOME/.pyenv"
PATH: "$PYENV_ROOT/bin:$PATH"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -41,8 +38,8 @@ jobs:
libbz2-dev libreadline-dev libsqlite3-dev curl git \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
curl https://pyenv.run | bash
# export PYENV_ROOT="$HOME/.pyenv"
# [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv install ${{ matrix.python_version }}
pyenv global ${{ matrix.python_version }}
Expand All @@ -52,6 +49,8 @@ jobs:
- name: Start services
run: |
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
sudo systemctl start mongod
sudo systemctl start docker
coverage --version
Expand Down

0 comments on commit 00fb74f

Please sign in to comment.