Refactor code structure for improved readability and maintainability; optimize performance in key functions.
This commit is contained in:
39
.gitea/workflows/replay-verification.yml
Normal file
39
.gitea/workflows/replay-verification.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
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
|
||||
Reference in New Issue
Block a user