Skip to content

Commit 37adbf7

Browse files
author
willie
committed
feat: Because we changed the event that triggers, we don't need to do this in two steps
1 parent 9fe0501 commit 37adbf7

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/benchmarks.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,15 @@ jobs:
5151
cat target/benchmark-results.txt >> ${{ env.COMMENT_FILE }}
5252
echo '```' >> ${{ env.COMMENT_FILE }}
5353
54-
# todo: skip until this is in master (demo on pull request)
55-
# - name: Run benchmarks (master)
56-
# working-directory: benchmark-master
57-
# run: |
58-
# ./mvnw -B -V --no-transfer-progress jmh:benchmark -Dlicense.skip=true
59-
#
60-
# echo '### Benchmark results (${{ github.base_ref }}, ${{ steps.get-sha.outputs.sha }})' >> ${{ env.COMMENT_FILE }}
61-
# echo '```text' >> ${{ env.COMMENT_FILE }}
62-
# cat target/benchmark-results.txt >> ${{ env.COMMENT_FILE }}
63-
# echo '```' >> ${{ env.COMMENT_FILE }}
54+
- name: Run benchmarks (master)
55+
working-directory: benchmark-master
56+
run: |
57+
./mvnw -B -V --no-transfer-progress jmh:benchmark -Dlicense.skip=true
58+
59+
echo '### Benchmark results (${{ github.base_ref }}, ${{ steps.get-sha.outputs.sha }})' >> ${{ env.COMMENT_FILE }}
60+
echo '```text' >> ${{ env.COMMENT_FILE }}
61+
cat target/benchmark-results.txt >> ${{ env.COMMENT_FILE }}
62+
echo '```' >> ${{ env.COMMENT_FILE }}
6463
6564
- name: Find benchmark results comment
6665
uses: peter-evans/find-comment@v3

0 commit comments

Comments
 (0)