Bump mkdocs-material from 9.7.3 to 9.7.4 in the docs-dependencies group #95
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --extra dev | |
| - name: Lint | |
| run: uv run ruff check . | |
| - name: Format check | |
| run: uv run ruff format --check . | |
| - name: Type check | |
| run: uv run mypy xarray_plotly | |
| - name: Test | |
| run: uv run pytest --cov=xarray_plotly --cov-report=xml | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v5 | |
| if: matrix.python-version == '3.12' | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: false | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: uv sync --extra docs | |
| - name: Build docs | |
| run: uv run mkdocs build | |
| ci-success: | |
| name: CI Success | |
| needs: [test, docs] | |
| if: always() | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check all jobs passed | |
| run: | | |
| if [[ "${{ needs.test.result }}" != "success" ]]; then | |
| echo "Test job failed or was cancelled" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.docs.result }}" != "success" ]]; then | |
| echo "Docs job failed or was cancelled" | |
| exit 1 | |
| fi | |
| echo "All CI checks passed!" |