Add unified calibration class #158
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: Steady | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-steady: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Install uv with Python ${{ matrix.python-version }} | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install the project | |
| run: uv sync --all-extras | |
| - name: Run tests | |
| run: uv run pytest -v ./tests/steady/ | |
| - name: Test tutorial notebooks | |
| run: | | |
| uv run pytest --nbval-lax --cov-append --dist loadscope -n auto docs/steady/00userguide/ | |
| - name: Test example notebooks | |
| run: | | |
| uv run pytest --nbval-lax --cov-append --dist loadscope -n auto docs/steady/02examples/ | |
| - name: Test cross-section notebooks | |
| run: | | |
| uv run pytest --nbval-lax --cov-append --dist loadscope -n auto docs/steady/03xsections/ | |
| - name: Test benchmark notebooks | |
| run: | | |
| uv run pytest --nbval-lax --cov-append --dist loadscope -n auto docs/steady/04benchmarks/ |