Skip to content

Commit 431d2f9

Browse files
author
zihugithub
committed
Add benchmark data upload step to backend after successful tests
1 parent 081e905 commit 431d2f9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/functional_tests_benchmark.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,15 @@ jobs:
235235
exit $exit_code
236236
timeout-minutes: 60
237237

238+
- name: Upload benchmark data to backend
239+
if: always() && steps.benchmark_test.outcome == 'success'
240+
uses: flagos-ai/FlagOps/actions/post-benchmark-report@main
241+
with:
242+
backend_url: 'http://10.1.4.167:30181/flagcicd-files/'
243+
results_dir: ${{ env.PROJECT_ROOT }}/tests/functional_tests/${{ matrix.test_config.task }}/${{ matrix.test_config.model }}/test_results/${{ matrix.test_config.case }}
244+
job_name: 'benchmark_${{ matrix.test_config.model }}_${{ matrix.test_config.case }}'
245+
fail_on_error: 'false'
246+
238247
- name: Upload Benchmark Test Logs
239248
if: always() && steps.benchmark_test.outcome == 'failure'
240249
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)