Skip to content

Commit

Permalink
🚧 try to add colab docker container and run tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry committed Feb 28, 2024
1 parent ee29a2d commit 3b1e6ac
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/colab.yml
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

0 comments on commit 3b1e6ac

Please sign in to comment.