Skip to content

Add Wave 13 human-machine review board #3

Add Wave 13 human-machine review board

Add Wave 13 human-machine review board #3

name: Wave 13 Human-Machine Review Board
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
wave13-review-board:
name: Wave 13 role-based review-board evidence
runs-on: ubuntu-latest
timeout-minutes: 40
env:
PYTHONUNBUFFERED: "1"
PYTHONDONTWRITEBYTECODE: "1"
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
PIP_DISABLE_PIP_VERSION_CHECK: "1"
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install package with development tooling
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Run Wave 13 adversarial and contract tests
run: |
python -m pytest \
tests/review_board \
tests/ci/test_wave13_review_board_runner.py \
tests/ci/test_wave13_review_board_workflow_contract.py \
tests/docs/test_wave13_review_board_docs.py \
-q
- name: Compile Wave 13 implementation
run: |
python -m compileall -q \
src/ix_blackfox/review_board \
scripts/run_wave13_review_board_ci.py \
tests/review_board \
tests/ci/test_wave13_review_board_runner.py \
tests/ci/test_wave13_review_board_workflow_contract.py \
tests/docs/test_wave13_review_board_docs.py
- name: Regenerate verified Wave 12 evidence prerequisite
run: |
python scripts/run_wave12_assurance_ci.py \
--root "." \
--head-sha "${{ github.sha }}" \
--expected-status "review_required"
- name: Build and independently verify Wave 13 review board
run: |
python scripts/run_wave13_review_board_ci.py \
--root "." \
--head-sha "${{ github.sha }}" \
--expected-status "human_review_required"
- name: Upload Wave 13 evidence package
uses: actions/upload-artifact@v4
with:
name: wave13-human-machine-review-board
path: |
.blackfox-artifacts/wave13/wave13-human-machine-review-board.zip
.blackfox-artifacts/wave13/wave13-package-verification.json
.blackfox-artifacts/wave13/wave13-review-case.json
.blackfox-artifacts/wave13/wave13-machine-advisories.json
.blackfox-artifacts/wave13/wave13-board-evaluation.json
.blackfox-artifacts/wave13/wave13-review-board-ci-summary.json
if-no-files-found: error