Skip to content

🐛 install non PyPI version... #68

🐛 install non PyPI version...

🐛 install non PyPI version... #68

Workflow file for this run

name: Test that tutorial runs on latest colab image
on:
push:
schedule:
- cron: '0 2 3 * *'
jobs:
test:
name: Test
runs-on: ubuntu-latest-4core # increase disk space
# 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: Install pimms-learn (from branch) and papermill
if: github.event_name == 'push'
run: |
echo $GITHUB_REF
pip install git+https://github.com/RasmussenLab/pimms.git@$GITHUB_REF
cd docs
echo python3 -c "import pimmslearn; print(pimmslearn.__version__)"
python3 -c "import pimmslearn; print(pimmslearn.__version__)"
- 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 log_reg.ipynb log_reg_tested.ipynb
papermill explorative_analysis.ipynb explorative_analysis_tested.ipynb