Skip to content

Commit

Permalink
Benchmark workflow upload hidden xlsx files (#4259)
Browse files Browse the repository at this point in the history
Benchmark workflow upload hidden xlsx files
  • Loading branch information
eugene123tw authored Feb 26, 2025
1 parent f4a64e3 commit 7bc4908
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/perf_benchmark_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
GH_CTX_REF_NAME: ${{ github.ref_name }}
GH_CTX_SHA: ${{ github.sha }}
run: |
rm -rf .tox
export TASK="${{ matrix.task }}"
export DATA_ROOT="${{ inputs.data-root }}"
export NUM_REPEAT="${{ inputs.num-repeat }}"
Expand All @@ -95,4 +96,5 @@ jobs:
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: benchmark-results-${{ matrix.task }}
path: ${{ github.workspace }}/.tox/${{ matrix.task }}-*.*
include-hidden-files: true
path: ${{ github.workspace }}/.tox/${{ matrix.task }}-*.xlsx
4 changes: 0 additions & 4 deletions tests/perf_v2/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,3 @@
"Please check if the benchmark tests have been run successfully."
)
raise ValueError(msg)

# list all xlsx files under summary_file_root
for xlsx_file in summary_file_root.rglob("*.xlsx"):
logger.info(f"Saved summary to {xlsx_file.resolve()}")

0 comments on commit 7bc4908

Please sign in to comment.