Bump the python-packages group across 1 directory with 15 updates #108
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: tests | |
| 'on': | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| pre_commit_checks: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # actions/checkout v4.3.1 | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Python setup | |
| # actions/setup-python v5.6.0 | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: "3.11" | |
| - name: Install uv | |
| # astral-sh/setup-uv v6.7.0 | |
| uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 | |
| - name: Install pre-commit | |
| run: uv tool install pre-commit | |
| - name: Run pre-commit | |
| run: | | |
| uv run --with pre-commit \ | |
| pre-commit run --all-files | |
| test_matrix: | |
| strategy: | |
| matrix: | |
| python_version: ["3.11", "3.12", "3.13"] | |
| os: [ubuntu-24.04, macos-14] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| # actions/checkout v4.3.1 | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Python setup | |
| # actions/setup-python v5.6.0 | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: ${{ matrix.python_version }} | |
| - name: Install uv | |
| # astral-sh/setup-uv v6.7.0 | |
| uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 | |
| - name: Run pytest | |
| run: uv run --frozen pytest | |
| docs_and_integrations: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # actions/checkout v4.3.1 | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Python setup | |
| # actions/setup-python v5.6.0 | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: "3.11" | |
| - name: Install uv | |
| # astral-sh/setup-uv v6.7.0 | |
| uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 | |
| - name: Run Ruff | |
| run: uv run --group dev --frozen ruff check | |
| - name: Check package build artifacts | |
| run: | | |
| uv build | |
| uvx twine check dist/* | |
| - name: Build docs | |
| run: | | |
| MYST_NB_EXECUTION_MODE=off \ | |
| uv run --group docs --frozen sphinx-build \ | |
| -b html \ | |
| docs/src \ | |
| docs/_build/html | |
| - name: Check notebook review pairs | |
| run: | | |
| before="$(git status --porcelain -- docs/src/examples)" | |
| uv run --group notebooks --frozen \ | |
| python -m jupytext --sync docs/src/examples/*.ipynb | |
| after="$(git status --porcelain -- docs/src/examples)" | |
| if [ "$before" != "$after" ]; then | |
| echo "Notebook pairs are out of sync after jupytext sync." | |
| echo "Commit the updated files." | |
| git diff -- docs/src/examples | |
| exit 1 | |
| fi | |
| - name: Run optional DuckDB integration tests | |
| run: | | |
| uv run --group dev --group duckdb --frozen \ | |
| pytest tests/test_duckdb.py |