diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e42843de..72900738 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index b1008a65..dab5a774 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] @@ -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"]