Skip to content

ci: SHA-pin all floating actions #59

ci: SHA-pin all floating actions

ci: SHA-pin all floating actions #59

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e ".[pandas,test]"
pip install ruff pyright
- name: Ruff check
run: ruff check
- name: Pyright
run: pyright
# This workflow is named "Tests" but never ran any until now — `tests/` has
# existed since 0.3.x and CI only linted and type-checked it. #18 shipped two
# model/wire mismatches that a single parse of a real payload would have
# caught, so the fixture round-trip it asks for is only worth adding if it can
# actually fail the build.
- name: Pytest
run: pytest -q