Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed May 18, 2023
1 parent 84f06f4 commit 9fc0b59
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,28 @@ on:

jobs:
test:
# NOTE: The worker environment running this job needs firefox and
# geckowebdriver available. Before upgrading to ubuntu-24.04 in the
# future, check and see its available in a location like this:
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#browsers-and-drivers
#
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11"]
jupyter_server-version: ["1", "2"]
jupyterlab-version: ["3"]
os: [ubuntu-22.04]
include:
- python-version: "3.11"
jupyter_server-version: "2"
jupyterlab-version: "3"
os: windows-2022

# NOTE: The worker environment running this job needs firefox and
# geckowebdriver available. Before upgrading to ubuntu-24.04 in the
# future, check and see its available in a location like this:
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#browsers-and-drivers
#
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies = [
"aiohttp",
"importlib_metadata >=4.8.3 ; python_version<\"3.10\"",
"jupyter-server >=1.0",
"simpervisor >=0.4",
"simpervisor @ git+https://github.com/jupyterhub/simpervisor@7423bec756b74ed29312f967b5177e7e54d07a23",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -86,6 +86,10 @@ exclude = [
"jupyter_server_proxy/labextension" = "share/jupyter/labextensions/@jupyterhub/jupyter-server-proxy"
"jupyter_server_proxy/static" = "share/jupyter/nbextensions/jupyter_server_proxy"

[tool.hatch.metadata]
# Allow testing git+https://github.com/... dependencies
allow-direct-references = true

[tool.hatch.metadata.hooks.nodejs]
path = "labextension/package.json"
fields = ["description", "authors", "urls"]
Expand Down

0 comments on commit 9fc0b59

Please sign in to comment.