Skip to content

feat(deployment): add ONNX export and backend benchmark (#13) #22

feat(deployment): add ONNX export and backend benchmark (#13)

feat(deployment): add ONNX export and backend benchmark (#13) #22

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Tests and lint (Python 3.12)
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
cache: pip
cache-dependency-path: |
requirements.txt
requirements-dev.txt
- name: Upgrade packaging tools
run: python -m pip install --upgrade pip setuptools wheel
- name: Install development dependencies
run: python -m pip install -r requirements-dev.txt
- name: Install project package
run: python -m pip install --no-deps -e .
- name: Verify dependency compatibility
run: python -m pip check
- name: Run Ruff
run: python -m ruff check src tests
- name: Run unit tests
run: python -m pytest -q