Skip to content

feat: web search, fetch, and citation UI #713

feat: web search, fetch, and citation UI

feat: web search, fetch, and citation UI #713

Workflow file for this run

name: py-check.yaml
on:
push:
branches: [main]
paths:
- 'pkg-py/**/*'
- 'pyproject.toml'
- '.github/workflows/py-check.yaml'
pull_request:
paths:
- 'pkg-py/**/*'
- 'pyproject.toml'
- '.github/workflows/py-check.yaml'
permissions:
contents: read
env:
UV_VERSION: "0.9.x"
jobs:
py-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
steps:
- uses: actions/checkout@v4
with:
# Need full history + tags so hatch-vcs computes a real
# workspace version (e.g. 0.3.2.devN+gSHA, derived from the
# latest py/v* tag) instead of the fallback 0.1.dev1+gSHA.
# The fallback sorts before 0.1.0 (PEP 440), so it can't
# satisfy shiny>=1.5's transitive `shinychat>=0.1.0` and
# uv silently downgrades shiny to 1.4.0, which lacks the
# htmltools-0.7.0 Tagifiable fixes.
fetch-depth: 0
fetch-tags: true
- name: πŸš€ Install uv
uses: astral-sh/setup-uv@v6.1.0
with:
version: ${{ env.UV_VERSION }}
- name: 🐍 Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: πŸ“¦ Install the project
run: uv sync --python ${{ matrix.python-version }} --all-extras --all-groups
- name: πŸ“œ Show uv.lock
run: cat uv.lock
- name: πŸ§ͺ Check tests
run: make py-check-tests
- name: πŸ“ Check types
run: make py-check-types
- name: πŸ“ Check formatting
run: make py-check-format