First draft of CI
Some checks failed
/ build (push) Failing after 40s

This commit is contained in:
Michael Bradley 2025-02-23 02:16:22 -05:00
parent 926587450e
commit 4fb890aa37
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8

View file

@ -0,0 +1,23 @@
on: [push, pull_request]
jobs:
build:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install Python dependencies
run: pip install -r requirements.txt
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Install Rust dependencies
run: cargo fetch
- name: Check formatting
run: cargo fmt --check
- name: Build
run: maturin develop
- name: Python tests
run: pytest tests/*.py
- name: Rust tests
run: cargo test