Add test matrix entry with JUPYTERHUB_SINGLEUSER_APP=jupyverse

This commit is contained in:
David Brochart
2023-08-02 12:08:20 +02:00
parent c3641ef3f3
commit 9aedb50fe2

View File

@@ -65,7 +65,7 @@ jobs:
# unencrypted HTTP # unencrypted HTTP
# #
# main_dependencies: # main_dependencies:
# Tests everything when the we use the latest available dependencies # Tests everything when we use the latest available dependencies
# from: traitlets. # from: traitlets.
# #
# NOTE: Since only the value of these parameters are presented in the # NOTE: Since only the value of these parameters are presented in the
@@ -90,6 +90,9 @@ jobs:
- python: "3.11" - python: "3.11"
ssl: ssl ssl: ssl
serverextension: serverextension serverextension: serverextension
- python: "3.11"
jupyverse: jupyverse
subset: singleuser
- python: "3.11" - python: "3.11"
subdomain: subdomain subdomain: subdomain
noextension: noextension noextension: noextension
@@ -130,6 +133,9 @@ jobs:
elif [ "${{ matrix.noextension }}" != "" ]; then elif [ "${{ matrix.noextension }}" != "" ]; then
echo "JUPYTERHUB_SINGLEUSER_EXTENSION=0" >> $GITHUB_ENV echo "JUPYTERHUB_SINGLEUSER_EXTENSION=0" >> $GITHUB_ENV
fi fi
if [ "${{ matrix.jupyverse }}" != "" ]; then
echo "JUPYTERHUB_SINGLEUSER_APP=jupyverse" >> $GITHUB_ENV
fi
- uses: actions/checkout@v3 - uses: actions/checkout@v3
# NOTE: actions/setup-node@v3 make use of a cache within the GitHub base # NOTE: actions/setup-node@v3 make use of a cache within the GitHub base
# environment and setup in a fraction of a second. # environment and setup in a fraction of a second.
@@ -176,6 +182,10 @@ jobs:
if [ "${{ matrix.jupyter_server }}" != "" ]; then if [ "${{ matrix.jupyter_server }}" != "" ]; then
pip install "jupyter_server==${{ matrix.jupyter_server }}" pip install "jupyter_server==${{ matrix.jupyter_server }}"
fi fi
if [ "${{ matrix.jupyverse }}" != "" ]; then
pip install "jupyverse[jupyterlab,auth-jupyterhub]"
pip install -e .
fi
if [ "${{ matrix.db }}" == "mysql" ]; then if [ "${{ matrix.db }}" == "mysql" ]; then
pip install mysqlclient pip install mysqlclient
fi fi