Skip to content

docs: fix README to match the real API, remove unverified claims #97

docs: fix README to match the real API, remove unverified claims

docs: fix README to match the real API, remove unverified claims #97

Workflow file for this run

name: Tests & Build
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
secrets-scan:
name: Secrets Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
rust-build:
name: Rust Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
crates
- name: Build Rust
run: cargo build --release --all-features
- name: Test Rust
run: cargo test --release --all-features
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Run cargo audit
run: cargo audit
python-tests:
name: Python Tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential python3-dev
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run pytest
run: pytest tests/ -v --tb=short