Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add end to end test to ensure compatibility against various jupyterhub versions #222

Open
consideRatio opened this issue Jun 4, 2023 · 0 comments

Comments

@consideRatio
Copy link
Member

consideRatio commented Jun 4, 2023

There is a test suite setup to run unit tests - but not full end to end (e2e) tests involving starting aj upyterhub and using the authenticator against it.

Notes on doing this

Below are some pieces of code relevant to include when setting up the test environment to test against various versions of jupyterhub taken from systemdspawner

    strategy:
      fail-fast: false
      matrix:
        include:
          # oldest supported python and jupyterhub version
          - python-version: "3.8"
            pip-install-spec: "jupyterhub==2.3.0 tornado==5.1.0 sqlalchemy==1.*"
          - python-version: "3.9"
            pip-install-spec: "jupyterhub==2.* sqlalchemy==1.*"
          - python-version: "3.10"
            pip-install-spec: "jupyterhub==3.*"
          - python-version: "3.11"
            pip-install-spec: "jupyterhub==4.*"

    steps:
      # ...
      - uses: actions/setup-node@v3
        with:
          node-version: "18"
      - name: Install Node dependencies
        run: |
          npm install -g configurable-http-proxy

      - name: Install Python dependencies
        run: |
          pip install ${{ matrix.pip-install-spec }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant