Fix a bug in registering JavaBuilder and KotlinBuilder #1533
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run benchmark | |
on: | |
push: | |
branches: [ main, '[0-9]*.[0-9]*.x' ] | |
pull_request: | |
branches: [ main, '[0-9]*.[0-9]*.x' ] | |
workflow_dispatch: | |
jobs: | |
jmh: | |
name: Run benchmark | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Execute benchmark | |
uses: gradle/[email protected] | |
with: | |
arguments: jmh | |
- name: Merge benchmark results | |
id: merge | |
run: | | |
echo "" > merged_results.csv | |
find ./fixture-monkey-benchmarks -name 'results.csv' | while read line; do | |
cat "$line" >> merged_results.csv | |
echo "" >> merged_results.csv | |
done | |
cat merged_results.csv | |
- name: Read merged benchmark result | |
id: csv | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: merged_results.csv | |
- name: Create Markdown table | |
uses: petems/csv-to-md-table-action@master | |
id: csv-table-output | |
with: | |
csvinput: ${{ steps.csv.outputs.content }} | |
- name: Print benchmark summary | |
run: echo "${{steps.csv-table-output.outputs.markdown-table}}" >> $GITHUB_STEP_SUMMARY |