38 lines
962 B
YAML
38 lines
962 B
YAML
name: HIFFI Multi-Platform CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.11", "3.12"]
|
|
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
cache: "pip"
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
pip install pytest scipy pandas numpy requests
|
|
|
|
- name: Run Full Governance Test Suite (27 Tests)
|
|
run: |
|
|
pytest test_multiplatform_ranking.py -v
|
|
|
|
- name: Verify Provenance Audit Report Generation
|
|
run: |
|
|
python reports/provenance_summary.py |