File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -65,17 +65,17 @@ jobs:
6565 path : benchmarks/${{ env.BASE_PATH }}
6666
6767 # TODO: enable this once the connection problem has been resolved.
68- # - name: Update benchmarking results to DB
69- # env:
70- # PGDATABASE: metrics
71- # PGHOST: ${{ secrets.DIFFUSERS_BENCHMARKS_PGHOST }}
72- # PGUSER: transformers_benchmarks
73- # PGPASSWORD: ${{ secrets.DIFFUSERS_BENCHMARKS_PGPASSWORD }}
74- # BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
75- # run: |
76- # commit_id=$GITHUB_SHA
77- # commit_msg=$(git show -s --format=%s "$commit_id" | cut -c1-70)
78- # cd benchmarks && python populate_into_db.py "$BRANCH_NAME" "$commit_id" "$commit_msg"
68+ - name : Update benchmarking results to DB
69+ env :
70+ PGDATABASE : metrics
71+ PGHOST : ${{ secrets.DIFFUSERS_BENCHMARKS_PGHOST }}
72+ PGUSER : transformers_benchmarks
73+ PGPASSWORD : ${{ secrets.DIFFUSERS_BENCHMARKS_PGPASSWORD }}
74+ BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
75+ run : |
76+ commit_id=$GITHUB_SHA
77+ commit_msg=$(git show -s --format=%s "$commit_id" | cut -c1-70)
78+ cd benchmarks && python populate_into_db.py "$BRANCH_NAME" "$commit_id" "$commit_msg"
7979
8080 - name : Report success status
8181 if : ${{ success() }}
You can’t perform that action at this time.
0 commit comments