-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:PedestrianDynamics/SingleFileMoveme…
…ntAnalysis into main
- Loading branch information
Showing
1 changed file
with
41 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,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 |