Skip to content

Commit

Permalink
fix: canbench can run in dependabot PRs (part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ielashi committed Apr 8, 2024
1 parent 31bf428 commit 38a8952
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -391,13 +391,21 @@ jobs:
- name: Benchmark
run: |
bash ./scripts/canbench_ci_run_benchmark.sh $PROJECT_DIR
bash ./scripts/ci_run_benchmark.sh $PROJECT_DIR ${{ github.job }}
- name: Post comment
uses: thollander/actions-comment-pull-request@v2
- uses: actions/upload-artifact@v4
with:
filePath: /tmp/canbench_comment_message.txt
comment_tag: ${{ env.PROJECT_DIR }}
name: canbench_result_${{github.job}}
path: /tmp/canbench_result_${{ github.job }}

- name: Save PR number
run: |
echo ${{ github.event.number }} > /tmp/pr_number
- uses: actions/upload-artifact@v4
with:
name: pr_number
path: /tmp/pr_number

- name: Pass or fail
run: |
Expand Down

0 comments on commit 38a8952

Please sign in to comment.