Skip to content

Commit

Permalink
chore(test/perf): fix version value for flag
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Sanchotene <marco@codenotary.com>
  • Loading branch information
marcosanchotene committed Mar 1, 2023
1 parent 7d0e6f4 commit 5003b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
echo "version=$(cat Makefile | grep '\<VERSION=' | awk -F= '{print $2}' | tr -d [\',])" >> $GITHUB_ENV
SECONDS=0
./perf-test-suite $ARG_DURATION -host $INFLUX_HOST -token $INFLUX_TOKEN -runner ${{ matrix.target.name }} -version $version > perf-test-results-with-summaries.txt
./perf-test-suite $ARG_DURATION -host $INFLUX_HOST -token $INFLUX_TOKEN -runner ${{ matrix.target.name }} -version $(cat Makefile | grep '\<VERSION=' | awk -F= '{print $2}' | tr -d [\',]) > perf-test-results-with-summaries.txt
echo "duration=$SECONDS" >> $GITHUB_ENV
sed '/^{/,/^}/!d' perf-test-results-with-summaries.txt > perf-test-results.json
- name: Upload test results
Expand Down

0 comments on commit 5003b22

Please sign in to comment.