Skip to content

Handle JSON decode failures in transport success responses #97

Handle JSON decode failures in transport success responses

Handle JSON decode failures in transport success responses #97

Workflow file for this run

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