Update nbconvert requirement from ^6 to ^7 #462
This file contains hidden or 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
| name: Test python package | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| # required by conda | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # see setup.py for supported versions | |
| # here instead of having a matrix | |
| # we only test combinations in a round-robin fashion | |
| # make sure the versions are monotmonic increasing w.r.t. each other | |
| # other wise e.g. an older version of a dependency may not work well with a newer version of Python | |
| include: | |
| - python-version: "3.10" | |
| pandoc-version: "2.15" | |
| - python-version: "3.12" | |
| pandoc-version: "3.0" | |
| - python-version: "3.13" | |
| pandoc-version: "latest" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: mamba-org/setup-micromamba@v2 | |
| with: | |
| cache-environment: true | |
| create-args: >- | |
| python=${{ matrix.python-version }} | |
| environment-file: environment.yml | |
| - name: Install | |
| run: python -m pip install --no-dependencies -e . | |
| - uses: nikeee/setup-pandoc@v1 | |
| with: | |
| pandoc-version: ${{ matrix.pandoc-version }} | |
| - name: Sanity check | |
| run: | | |
| pip check | |
| python -c 'import bsos' | |
| - name: Tests | |
| run: | | |
| make test COVHTML='--cov-report=xml' |