-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚧 try to add colab docker container and run tutorial
- Loading branch information
Henry
committed
Feb 28, 2024
1 parent
ee29a2d
commit 3b1e6ac
Showing
1 changed file
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Test that tutorial runs on latest colab image | ||
|
||
on: | ||
push: | ||
schedule: | ||
- cron: '0 2 * * 3' | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
# https://console.cloud.google.com/artifacts/docker/colab-images/europe/public/runtime | ||
container: | ||
image: europe-docker.pkg.dev/colab-images/public/runtime:latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Test tutorials | ||
run: | | ||
python3 -m pip install papermill ipykernel njab | ||
cd docs/tutorial | ||
papermill explorative_analysis.ipynb --help-notebook | ||
papermill log_reg.ipynb --help-notebook | ||
papermill explorative_analysis.ipynb explorative_analysis_tested.ipynb | ||
papermill log_reg.ipynb log_reg_tested.ipynb |