|
| 1 | +name: Blueprint Artifact Validation |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_dispatch: |
| 5 | + push: |
| 6 | + paths: |
| 7 | + - 'docs/reports/blueprint_artifacts/**' |
| 8 | + - 'docs/reports/ENTERPRISE_CIVILIZATIONAL_AGI_ASI_BLUEPRINT_2026_2030.md' |
| 9 | + - 'scripts/validate_blueprint_artifacts.py' |
| 10 | + - 'scripts/__init__.py' |
| 11 | + - 'scripts/requirements-blueprint-validator.txt' |
| 12 | + - 'scripts/run_blueprint_artifact_checks.sh' |
| 13 | + - 'tests/test_validate_blueprint_artifacts.py' |
| 14 | + - 'tests/test_run_blueprint_artifact_checks.py' |
| 15 | + - '.github/workflows/blueprint-artifacts-validation.yml' |
| 16 | + pull_request: |
| 17 | + paths: |
| 18 | + - 'docs/reports/ENTERPRISE_CIVILIZATIONAL_AGI_ASI_BLUEPRINT_2026_2030.md' |
| 19 | + - 'docs/reports/blueprint_artifacts/**' |
| 20 | + - 'scripts/validate_blueprint_artifacts.py' |
| 21 | + - 'scripts/__init__.py' |
| 22 | + - 'scripts/requirements-blueprint-validator.txt' |
| 23 | + - 'scripts/run_blueprint_artifact_checks.sh' |
| 24 | + - 'tests/test_validate_blueprint_artifacts.py' |
| 25 | + - 'tests/test_run_blueprint_artifact_checks.py' |
| 26 | + - '.github/workflows/blueprint-artifacts-validation.yml' |
| 27 | + |
| 28 | +jobs: |
| 29 | + validate-artifacts: |
| 30 | + runs-on: ubuntu-latest |
| 31 | + steps: |
| 32 | + - uses: actions/checkout@v4 |
| 33 | + - uses: actions/setup-python@v5 |
| 34 | + with: |
| 35 | + python-version: '3.12' |
| 36 | + cache: 'pip' |
| 37 | + cache-dependency-path: scripts/requirements-blueprint-validator.txt |
| 38 | + - name: Run consolidated artifact check script |
| 39 | + run: bash scripts/run_blueprint_artifact_checks.sh --list-checks |
| 40 | + - name: Runner interface smoke checks |
| 41 | + run: | |
| 42 | + bash scripts/run_blueprint_artifact_checks.sh --help |
| 43 | + bash scripts/run_blueprint_artifact_checks.sh --skip-install --skip-pytest --output-json /tmp/blueprint-validation-alt.json |
| 44 | + python -m json.tool /tmp/blueprint-validation-alt.json > /dev/null |
0 commit comments