Skip to content

Commit

Permalink
pretty output and execute on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
zachblume committed Jun 14, 2024
1 parent d31e21d commit a1d8d79
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Run Autospec System Tests

# For now, let's only manually trigger:
on:
workflow_dispatch
# push:
# branches:
# - main
# pull_request:
# branches:
# - main
push:
branches:
- main
workflow_dispatch:
# pull_request:
# branches:
# - main

jobs:
run-autospec:
Expand Down Expand Up @@ -36,3 +36,14 @@ jobs:
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: node benchmark/benchmark.js

- name: Output Benchmark Summary to Github Action Summary
run: cat benchmark/benchmark-results/*.json > $GITHUB_STEP_SUMMARY

- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: |
benchmark/benchmark-results/*
trajectories/*

0 comments on commit a1d8d79

Please sign in to comment.