Removed references to deprecated materials in favour of other_material. #708
Workflow file for this run
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: Python package | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - name: Download Test Data | |
| run: | | |
| bash -x get_test_data.sh | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6.3.0 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: uv.lock | |
| - name: Sync dependencies | |
| run: | | |
| uv python pin ${{ matrix.python-version }} | |
| uv sync --group dev | |
| - uses: astral-sh/ruff-action@v3 | |
| - run: ruff check | |
| - run: ruff format | |
| - name: Test with python unittest | |
| run: | | |
| uv run --python ${{ matrix.python-version }} pytest | |
| uv run --python ${{ matrix.python-version }} coverage run -m unittest discover -s tests/ | |
| uv run --python ${{ matrix.python-version }} coverage report -m | |
| - name: Coveralls | |
| uses: AndreMiras/coveralls-python-action@develop | |
| with: | |
| parallel: true | |
| flag-name: Unit Test | |
| coveralls_finish: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Coveralls Finished | |
| uses: AndreMiras/coveralls-python-action@develop | |
| with: | |
| parallel-finished: true |