Skip to content

Commit

Permalink
Add notebook test
Browse files Browse the repository at this point in the history
  • Loading branch information
edeno committed Oct 23, 2024
1 parent fd56e9f commit 0e5e054
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test_package_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ jobs:
- name: Install test extras
run: pip install package_name[test]
- name: Run tests
run: pytest --doctest-modules -v --pyargs track_linearization
run: pytest --doctest-modules -v --pyargs package_name
- name: Test notebook
shell: bash -l {0}
run: |
jupyter nbconvert --to notebook --ExecutePreprocessor.kernel_name=python3 --execute notebooks/test_linearization.ipynb
publish:
runs-on: ubuntu-latest
needs: [test-package]
Expand Down

0 comments on commit 0e5e054

Please sign in to comment.