💰 Cost Model Benchmark #8
This file contains 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
# This workflow runs the cost model benchmark and uploads the results as a | |
# GitHub artifact. | |
name: "💰 Cost Model Benchmark" | |
on: | |
workflow_dispatch: | |
inputs: | |
entra-bench-args: | |
description: 'extra argument(s) to pass to the cost-model-budgeting-bench command' | |
default: '' | |
type: string | |
jobs: | |
run: | |
name: Run | |
runs-on: [self-hosted, plutus-benchmark] | |
timeout-minutes: 1800 # (30 hours) These benchmarks take over 10 hours to run. | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Run Benchmark | |
run: nix --accept-flake-config run .#cost-model-budgeting-bench -- --csv results.csv ${{ inputs.entra-bench-args }} | |
- name: Upload Results | |
uses: actions/upload-artifact@main | |
with: | |
name: results | |
path: results.csv | |
if-no-files-found: error |