Skip to content

[codex] Add policyengine-uk validation and fix SCP parameters #6

[codex] Add policyengine-uk validation and fix SCP parameters

[codex] Add policyengine-uk validation and fix SCP parameters #6

Workflow file for this run

name: Validate
on:
pull_request:
paths:
- "src/**"
- "parameters/**"
- "scripts/**"
- "Cargo.toml"
- "Cargo.lock"
- ".github/workflows/validate.yml"
push:
paths:
- "src/**"
- "parameters/**"
- "scripts/**"
- "Cargo.toml"
- "Cargo.lock"
- ".github/workflows/validate.yml"
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Run Rust tests
run: cargo test
- name: Build Rust CLI
run: cargo build
- name: Install PolicyEngine UK reference model
run: python -m pip install --upgrade pip policyengine-uk==2.72.3
- name: Validate against PolicyEngine UK
run: python scripts/validate_against_policyengine_uk.py --rust-binary target/debug/policyengine-uk-rust