Skip to content

Commit

Permalink
Upload regression as CSV (#4029)
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
Co-authored-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan-Jowett and Alan Jowett authored Nov 23, 2024
1 parent 5f5c451 commit ae04b0b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/upload-perf-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,19 @@ jobs:
export PGPORT=$(cat ${{github.workspace}}/PGPORT)
export PGDATABASE=$(cat ${{github.workspace}}/PGDATABASE)
psql -f ${{github.workspace}}/results/upload.sql
- name: Download and run regression script
run: |
curl https://raw.githubusercontent.com/microsoft/bpf_performance/refs/heads/main/scripts/check_perf_results.sql > check_perf_results.sql
export PGPASSWORD=$(cat ${{github.workspace}}/PGPASSWORD)
export PGHOST=$(cat ${{github.workspace}}/PGHOST)
export PGUSER=$(cat ${{github.workspace}}/PGUSER)
export PGPORT=$(cat ${{github.workspace}}/PGPORT)
export PGDATABASE=$(cat ${{github.workspace}}/PGDATABASE)
psql -f /mnt/d/bpf_performance/scripts/check_perf_results.sql -v platform='${{inputs.platform}}' --csv > ${{github.workspace}}/results/regression_results.csv
- name: Upload regression results
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
with:
name: Regression-Results-${{inputs.result_artifact}}
path: ${{github.workspace}}/results/regression_results.csv

0 comments on commit ae04b0b

Please sign in to comment.