Add deterministic replay gate for agent tests #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: runledger-gate | |
| on: | |
| pull_request: | |
| jobs: | |
| evals: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install RunLedger | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install runledger | |
| - name: Run deterministic evals (replay) | |
| run: runledger run evals/runledger --mode replay --baseline baselines/runledger-demo.json | |
| - name: Upload artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: runledger-artifacts | |
| path: runledger_out/** |