Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test bench CI PR #352

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 0 additions & 77 deletions .github/workflows/ci.yml

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/postbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
workflow_run:
workflows: [RunUploadBenchmarks]
types: [completed]
branches: [master, benchx]
jobs:
on-success:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -33,6 +32,8 @@ jobs:

- name: 'Unzip artifact'
run: unzip BenchmarkResults.zip -d .benchmarkci/
- name: install dependencies
run: julia -e 'using Pkg; pkg"add PkgBenchmark [email protected]"'
- name: 'Post results test 1'
run: julia -e 'using BenchmarkCI; BenchmarkCI.postjudge()'
env:
Expand All @@ -50,12 +51,14 @@ jobs:
issue_number: issue_number,
body: 'Thank you for the PR!'
});
- name: 'Read PR number'
run: echo "{MY_PR_NUMBER}=$(cat .benchmarkci/pr_number)" >> $GITHUB_ENV
- name: 'Comment on PR test 3'
run: gh pr comment "$NUMBER" --body "$BODY"
run: gh pr comment "$MY_PR_NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
# NUMBER: ${{ github.event.pull_request.number }}
BODY: >
This pr comment is testing.
**This should be bold**
2 changes: 1 addition & 1 deletion .github/workflows/runbenchandupload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
echo $PR_NUMBER > .benchmarkci/pr_number
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: BenchmarkResults
path: .benchmarkci/
Expand Down