Skip to content

Commit

Permalink
CI: Install subrepo version of Spyder-kernels in env used to test act…
Browse files Browse the repository at this point in the history
…ivation
  • Loading branch information
ccordoba12 committed Nov 14, 2023
1 parent 8a204ae commit 9c07bc8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,18 @@ conda list -n jedi-test-env
# Create environment to test conda env activation before launching a kernel
conda create -n spytest-ž -q -y -c conda-forge python=3.9

# `conda run` fails on Windows without a clear reason
# Install subrepo version of Spyder-kernels in that env
pushd external-deps/spyder-kernels

if [ "$OS" = "win" ]; then
/c/Miniconda/envs/spytest-ž/python -m pip install git+https://github.com/spyder-ide/spyder-kernels.git@master
# `conda run` fails on Windows without a clear reason
/c/Miniconda/envs/spytest-ž/python -m pip install .
else
conda run -n spytest-ž python -m pip install git+https://github.com/spyder-ide/spyder-kernels.git@master
conda run -n spytest-ž python -m pip install .
fi

popd

conda list -n spytest-ž

# Install pyenv on Linux systems
Expand Down

0 comments on commit 9c07bc8

Please sign in to comment.