Skip to content

Commit 1339c93

Browse files
author
willie
committed
feat: Fix pull request demo
1 parent 3d0c272 commit 1339c93

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/benchmarks.yaml

+11-10
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Run benchmarks (pull-request)
4343
working-directory: benchmark-pull-request
4444
run: |
45-
./mvnw jmh:benchmark -Dlicense.skip=true
45+
./mvnw -B -V --no-transfer-progress jmh:benchmark -Dlicense.skip=true
4646
4747
echo '> [!NOTE]' >> ${{ env.COMMENT_FILE }}
4848
echo '> These results are affected by shared workloads on GitHub runners. Use the results only to detect possible regressions, but always rerun on more stable machine before making any conclusions!' >> ${{ env.COMMENT_FILE }}
@@ -51,15 +51,16 @@ jobs:
5151
cat target/benchmark-results.txt >> ${{ env.COMMENT_FILE }}
5252
echo '```' >> ${{ env.COMMENT_FILE }}
5353
54-
- name: Run benchmarks (master)
55-
working-directory: benchmark-master
56-
run: |
57-
./mvnw 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 }}
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 }}
6364

6465
- name: Find benchmark results comment
6566
uses: peter-evans/find-comment@v3

0 commit comments

Comments
 (0)