Skip to content

chore(release): prepare v0.8.0 #9

chore(release): prepare v0.8.0

chore(release): prepare v0.8.0 #9

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# Pinned exactly: setup-uv publishes no floating v9 major tag.
- uses: astral-sh/setup-uv@v9.0.0
with:
enable-cache: true
- name: Lint
run: uv run --extra dev ruff check .
- name: Format
run: uv run --extra dev ruff format --check .
- name: Type check
run: uvx --from pyright==1.1.411 pyright --pythonpath .venv/bin/python src/webskrap
- name: Audit dependencies
run: uv run --extra dev --with pip-audit==2.9.0 pip-audit
# Keep third-party live tests opt-in; local browser tests run below.
- name: Test
run: uv run --extra dev pytest -q -m "not browser and not live"
- name: Install browsers
run: |
uv run playwright install --with-deps chromium
uv run patchright install chromium
- name: Browser test
run: uv run --extra dev pytest -q tests/test_browser_integration.py
- name: Build
run: uv run --with build python -m build