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 c77398a commit 9e4bff8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ 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 @@ -38,13 +41,13 @@ 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 }}
pip3 install --no-build-isolation coverage==7.6.9 pytest==8.0.0 virtualenv==20.25.0\
setuptools==69.1.0 setuptools-scm==8.0.4
pip3 install coverage==7.6.9 pytest==8.0.0 virtualenv==20.25.0 setuptools==69.1.0\
setuptools-scm==8.0.4
coverage --version
- name: Start services
Expand All @@ -55,7 +58,7 @@ jobs:
- name: Install INGInious
run: |
pip3 install --no-build-isolation .
pip3 install .
coverage --version
- name: Launch pytest tests
Expand Down

0 comments on commit 9e4bff8

Please sign in to comment.