Skip to content

Commit

Permalink
try running tests with serverextension
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Jun 17, 2022
1 parent 0e23b1a commit fafd565
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -76,14 +76,16 @@ jobs:
subdomain: subdomain
- python: "3.7"
db: mysql
- python: "3.7"
- python: "3.10"
ssl: ssl
- python: "3.8"
db: postgres
- python: "3.8"
nbclassic: nbclassic
- python: "3.9"
main_dependencies: main_dependencies
- python: "3.10"
serverextension: serverextension

steps:
# NOTE: In GitHub workflows, environment variables are set by writing
Expand All @@ -107,8 +109,8 @@ jobs:
echo "PGPASSWORD=hub[test/:?" >> $GITHUB_ENV
echo "JUPYTERHUB_TEST_DB_URL=postgresql://test_user:hub%5Btest%2F%3A%3F@127.0.0.1:5432/jupyterhub" >> $GITHUB_ENV
fi
if [ "${{ matrix.jupyter_server }}" != "" ]; then
echo "JUPYTERHUB_SINGLEUSER_APP=jupyterhub.tests.mockserverapp.MockServerApp" >> $GITHUB_ENV
if [ "${{ matrix.serverextension }}" != "" ]; then
echo "JUPYTERHUB_SINGLEUSER_EXTENSION=1" >> $GITHUB_ENV
fi
- uses: actions/checkout@v2
# NOTE: actions/setup-node@v1 make use of a cache within the GitHub base
Expand Down Expand Up @@ -155,6 +157,10 @@ jobs:
if [ "${{ matrix.db }}" == "postgres" ]; then
pip install psycopg2-binary
fi
if [ "${{ matrix.serverextension }}" != "" ]; then
pip install https://github.com/minrk/jupyter_server/archive/deprecate_login_config.tar.gz
fi
pip freeze
Expand Down

0 comments on commit fafd565

Please sign in to comment.