48 lines
985 B
YAML
48 lines
985 B
YAML
name: Testing
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
|
|
- name: Install dependencies
|
|
run: uv sync --group dev --managed-python
|
|
|
|
- name: Run tests
|
|
run: uv run pytest
|
|
|
|
remote-protocol-compat:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
browser-cli-client-version:
|
|
- "0.9.3"
|
|
- "0.9.5"
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
|
|
- name: Install dependencies
|
|
run: uv sync --group dev --managed-python
|
|
|
|
- name: Run remote protocol compatibility matrix
|
|
env:
|
|
BROWSER_CLI_COMPAT_CLIENT_VERSION: ${{ matrix.browser-cli-client-version }}
|
|
run: uv run pytest tests/test_remote_protocol_matrix.py -v
|