Require extract tool schema strings to decode as objects #957
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - "cursor/**" | |
| jobs: | |
| lint-test-build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.9", "3.12"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| cache-dependency-path: | | |
| pyproject.toml | |
| poetry.lock | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install . pytest ruff build | |
| - name: Lint | |
| run: python -m ruff check . | |
| - name: Formatting | |
| run: python -m ruff format --check . | |
| - name: Compile sources | |
| run: python -m compileall -q hyperbrowser examples tests | |
| - name: Test | |
| run: python -m pytest -q | |
| - name: Build package | |
| run: python -m build |