Skip to content

Commit

Permalink
Fix script in benchmark file (#556)
Browse files Browse the repository at this point in the history
* Fix script in benchmark

* Fix the next line
  • Loading branch information
afsalthaj authored Jun 7, 2024
1 parent ba6265c commit 0d63df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
if git fetch origin main:main && [[ ! "$COMMENT_BODY" =~ refresh ]]; then
# Check each file
for file in "${files[@]}"; do
for file in ${files[@]}; do
if git checkout master -- "benchmark-data/$file"; then
present_files+=("$file")
compare_command="$compare_command --files $file=$(pwd)/benchmark-data/$file,$(pwd)/benchmark-data-current/$file"
Expand All @@ -147,7 +147,7 @@ jobs:
fi
done
else
for file in "${files[@]}"; do
for file in ${files[@]}; do
absent_files+=("$file")
get_report_command="$get_report_command --files $file=$(pwd)/benchmark-data-current/$file"
done
Expand Down

0 comments on commit 0d63df1

Please sign in to comment.