mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 17:47:40 +00:00
Keep preflight and the unit-test matrix (the PR critical path) on Blacksmith; move routing, aggregation, contract, packaging and mobile checks to hosted standard runners, which are free for public repos under Enterprise concurrency. Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
name: Unit selection evidence
|
|
|
|
# Call advisory evidence beside unit-tests, preserving artifacts without delaying verify ~36s after shards; job/comparison remain continue-on-error.
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
selection_evidence:
|
|
if: ${{ !cancelled() }}
|
|
continue-on-error: true
|
|
runs-on: ubuntu-slim
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
sparse-checkout: config/scripts/ci-unit-selection-review.mjs
|
|
sparse-checkout-cone-mode: false
|
|
persist-credentials: false
|
|
- uses: actions/download-artifact@v8
|
|
with:
|
|
pattern: unit-shard-node-*-attempt-${{ github.run_attempt }}
|
|
path: unit-evidence/
|
|
- name: Compare selection with full results
|
|
continue-on-error: true
|
|
uses: actions/github-script@v8
|
|
with:
|
|
github-token: unused
|
|
script: |
|
|
const env = { ...process.env }
|
|
delete env['INPUT_GITHUB-TOKEN']
|
|
await exec.exec(process.execPath, [
|
|
'config/scripts/ci-unit-selection-review.mjs',
|
|
'unit-evidence'
|
|
], { env })
|
|
- uses: actions/upload-artifact@v7
|
|
if: always()
|
|
continue-on-error: true
|
|
with:
|
|
name: unit-selection-review-attempt-${{ github.run_attempt }}
|
|
path: unit-evidence/selection-review.json
|
|
retention-days: 30
|