Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
Add CI workflow
  • Loading branch information
schroedtert authored Feb 20, 2024
2 parents 6fa5440 + 2a14883 commit 7574f05
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
check_notebooks:
name: Check Jupyter notebooks
strategy:
fail-fast: false
matrix:
python-version: [ '3.10', '3.11' , '3.12' ]
runs-on: ${{ ubuntu-latest }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install --upgrade pip jupyter nbconvert nbformat
- name: Run top view notebook
run: |
jupyter nbconvert --to notebook --execute scripts/top_view_experiments.ipynb
- name: Run side view notebook
run: |
jupyter nbconvert --to notebook --execute scripts/side_view_experiments.ipynb

0 comments on commit 7574f05

Please sign in to comment.