diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aeb71f9d1..26dffebf3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,10 +41,10 @@ jobs: echo "export PYENV_ROOT=\"$HOME/.pyenv\"" >> ~/.bashrc echo "[[ -d $PYENV_ROOT/bin ]] && export PATH=\"$PYENV_ROOT/bin:$PATH\"" >> ~/.bashrc echo "eval \"$(pyenv init -)\"" >> ~/.bashrc - source ~/.bashrc - # export PYENV_ROOT="$HOME/.pyenv" - # [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" - # eval "$(pyenv init -)" + # source ~/.bashrc + 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 coverage==7.6.9 pytest==8.0.0 virtualenv==20.25.0 setuptools==69.1.0\ @@ -53,9 +53,9 @@ jobs: - name: Start services run: | - export PYENV_ROOT="$HOME/.pyenv" - [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" - eval "$(pyenv init -)" + # export PYENV_ROOT="$HOME/.pyenv" + # [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" + # eval "$(pyenv init -)" sudo systemctl start mongod sudo systemctl start docker coverage --version