Skip to content

Commit

Permalink
run ipynb in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Nov 8, 2024
1 parent 920f3e6 commit 9c27430
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: CI
on: [pull_request, push]


jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
with:
Expand All @@ -17,12 +16,16 @@ jobs:
- name: Install dependencies
run: |
pip install .[tests]
- name: Run tests
run: |
python -m pytest test/ --cov libra_toolbox --cov-report xml --cov-report term
- name: Run notebook examples
run: |
jupyter nbconvert --to python --execute docs/examples/*.ipynb
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v4
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 9c27430

Please sign in to comment.