Skip to content

Commit

Permalink
seperate Benchmark tool setup from first benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
liamnichols committed Jun 9, 2024
1 parent 6420304 commit 29b50dc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- main

jobs:
benchmark-pull-request:
name: Benchmark Pull Request
benchmark:
name: Benchmark
runs-on: macos-14
continue-on-error: true
permissions:
Expand All @@ -22,13 +22,12 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Benchmarks
run: swift package plugin benchmark list
- name: Benchmark Pull Request
run: swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update pull_request
- name: Switch Branches
run: |
git stash
git checkout main
git stash pop
run: git checkout main
- name: Benchmark Main
run: swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update main
- name: Compare Benchmarks
Expand Down

0 comments on commit 29b50dc

Please sign in to comment.