40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
name: Replay Verification
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'src/Scanner/**'
|
|
- 'src/__Libraries/StellaOps.Canonicalization/**'
|
|
- 'src/__Libraries/StellaOps.Replay/**'
|
|
- 'src/__Libraries/StellaOps.Testing.Manifests/**'
|
|
- 'bench/golden-corpus/**'
|
|
|
|
jobs:
|
|
replay-verification:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '10.0.100'
|
|
|
|
- name: Build CLI
|
|
run: dotnet build src/Cli/StellaOps.Cli -c Release
|
|
|
|
- name: Run replay verification on corpus
|
|
run: |
|
|
dotnet run --project src/Cli/StellaOps.Cli -- replay batch \
|
|
--corpus bench/golden-corpus/ \
|
|
--output results/ \
|
|
--verify-determinism \
|
|
--fail-on-diff
|
|
|
|
- name: Upload diff report
|
|
if: failure()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: replay-diff-report
|
|
path: results/diff-report.json
|