chore(release): prepare v0.8.0 #9
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: | |
| 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 |