Skip to content

Add Rust proposal ID boundary tests #32

Add Rust proposal ID boundary tests

Add Rust proposal ID boundary tests #32

Workflow file for this run

name: NovaNexus CI
on:
push:
branches:
- local-recovery-work
pull_request:
jobs:
safety-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e ".[dev]"
python -m pip install maturin
- name: Build Rust risk engine wheel
run: |
python -m maturin build \
--release \
--manifest-path engine/novanexus_engine/Cargo.toml \
--out dist
- name: Install Rust risk engine wheel
run: |
python -m pip install --force-reinstall dist/novanexus_engine-*.whl
- name: Run NovaNexus security smoke check
run: |
./scripts/security_check.sh