Skip to content

Add CI test workflow and schema-aligned test mocks #14

Add CI test workflow and schema-aligned test mocks

Add CI test workflow and schema-aligned test mocks #14

Workflow file for this run

name: Run Tests and Lint
on:
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .[dev]
- name: Lint with ruff
run: |
ruff check .
- name: Run tests
run: |
pip install pytest
pytest --maxfail=1 --disable-warnings -q