diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48f4a7b..7e15b42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 }} \ No newline at end of file + # token: ${{ secrets.CODECOV_TOKEN }}