PureYAML/.github/workflows/corpus.yml
Mihaela M ea31bb5864 chore(ci): split CI into per-workflow files with truthful badges
Rule 8.1 forbids one multi-job workflow fronted by several cosmetically
labeled badges that all resolve to the same whole-workflow status. Split
ci.yml into one workflow per concern (gates, macOS, Linux, Windows,
WASM, corpus), each with a unique name, and point each README badge at
its own workflow through the native per-workflow badge. The WASM
workflow notes in a header that it is a build gate, not a test gate
(Rule 8.3). Add a static MIT license badge linking to LICENSE
(Rule 8.2). Step contents are unchanged from the previous jobs.
2026-06-26 05:48:11 +02:00

36 lines
975 B
YAML

name: Corpus
# Heavy corpus, differential, and throughput gates. Scheduled and manual only;
# not a platform claim, so it carries no README badge.
on:
workflow_dispatch:
schedule:
- cron: "0 6 * * 1"
permissions:
contents: read
jobs:
corpus:
name: Corpus
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- name: Run corpus gates
run: |
bash scripts/check-json-compatibility.sh
bash scripts/check-corpus.sh
bash scripts/check-yams-differential.sh
bash scripts/check-yams-diagnostics.sh
bash scripts/check-yams-validation.sh
bash scripts/check-throughput.sh
bash scripts/check-performance-phases.sh
- name: Upload corpus artifacts
if: always()
uses: actions/upload-artifact@v6
with:
name: pureyaml-corpus-${{ runner.os }}-${{ github.sha }}
path: .build/pureyaml-artifacts
retention-days: 30