Skip to content

Commit 441ac2a

Browse files
committed
Move example into subdirectory to make room for more examples
1 parent b7911ca commit 441ac2a

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
@@ -22,6 +22,10 @@ jobs:
2222
test:
2323
runs-on: ubuntu-22.04
2424
timeout-minutes: 10
25+
strategy:
26+
matrix:
27+
example:
28+
- basic-example
2529

2630
steps:
2731
- uses: actions/checkout@v3
@@ -37,10 +41,14 @@ jobs:
3741
run: pip install pytest
3842

3943
- name: Add a test admin token
40-
run: cat ci/config_token.py >> jupyterhub_config.py
44+
run: cat ci/config_token.py >> ${{ matrix.example }}/jupyterhub_config.py
4145

4246
- name: Run JupyterHub
43-
run: docker-compose up -d
47+
run: |
48+
cd ${{ matrix.example }}
49+
docker-compose up -d
4450
4551
- name: Test
46-
run: pytest -vs
52+
run: |
53+
cd ${{ matrix.example }}
54+
pytest -vs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)