Skip to content

Commit

Permalink
Add job summary
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Morin <[email protected]>
  • Loading branch information
JeanChristopheMorinPerso committed Oct 27, 2023
1 parent fcb4943 commit 3594582
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ jobs:
- '2.7'
- '3.7'

# without this, we're sometimes getting at the end of this job:
# '[error] The operation was canceled'.
# Do we hit a resource limit?
#
max-parallel: 1

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -132,6 +126,14 @@ jobs:
python ./.github/scripts/store_benchmark.py
working-directory: src

- name: Create summary
run: |
echo '<details>' >> $GITHUB_STEP_SUMMARY
echo '<summary>Results</summary>' >> $GITHUB_STEP_SUMMARY
cat metrics/benchmarking/RESULTS.md >> $GITHUB_STEP_SUMMARY
echo '</details>' >> $GITHUB_STEP_SUMMARY
working-directory: src

- name: Setup git config
if: ${{ github.event_name == 'release' }}
run: |
Expand Down

0 comments on commit 3594582

Please sign in to comment.