-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jupyterhub:main' into main
- Loading branch information
Showing
4 changed files
with
16 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,6 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
# https://github.com/pre-commit/action | ||
pre-commit: | ||
name: Lint | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- uses: pre-commit/[email protected] | ||
|
||
# Run tests | ||
test: | ||
name: Test | ||
|
@@ -44,7 +33,6 @@ jobs: | |
- name: Get Docker version | ||
run: | | ||
docker --version | ||
docker-compose --version | ||
- name: Install pytest | ||
run: pip install pytest requests | ||
|
@@ -54,13 +42,13 @@ jobs: | |
|
||
- name: Run JupyterHub | ||
working-directory: ${{ matrix.example }} | ||
run: docker-compose up --detach | ||
run: docker compose up --detach | ||
|
||
- name: Test | ||
working-directory: ${{ matrix.example }} | ||
run: pytest --verbose --capture=no | ||
|
||
- name: Print docker-compose logs | ||
- name: Print docker compose logs | ||
if: always() | ||
working-directory: ${{ matrix.example }} | ||
run: docker-compose logs | ||
run: docker compose logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters