Skip to content

Commit 6cbfeda

Browse files
authored
Merge pull request #117 from manics/multiple
Move example into subdirectory to make room for more examples
2 parents 1c6a0d0 + 46b32da commit 6cbfeda

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
test:
2626
runs-on: ubuntu-22.04
2727
timeout-minutes: 10
28+
strategy:
29+
matrix:
30+
example:
31+
- basic-example
2832

2933
steps:
3034
- uses: actions/checkout@v3
@@ -40,10 +44,14 @@ jobs:
4044
run: pip install pytest
4145

4246
- name: Add a test admin token
43-
run: cat ci/config_token.py >> jupyterhub_config.py
47+
run: cat ci/config_token.py >> ${{ matrix.example }}/jupyterhub_config.py
4448

4549
- name: Run JupyterHub
46-
run: docker-compose up -d
50+
run: |
51+
cd ${{ matrix.example }}
52+
docker-compose up -d
4753
4854
- name: Test
49-
run: pytest -vs
55+
run: |
56+
cd ${{ matrix.example }}
57+
pytest -vs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)