Skip to content

Commit

Permalink
Merge pull request sbt#1407 from Friendseeker/ci-target-branch
Browse files Browse the repository at this point in the history
[2.x] Run CI benchmarks against PR target branch
  • Loading branch information
eed3si9n authored Sep 24, 2024
2 parents 1211926 + db68d8f commit 96aed24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,18 @@ jobs:
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Shapeless.*" "runBenchmarks"
- name: Checkout Develop Branch (4, 5)
- name: Checkout Target Branch (4, 5)
if: ${{ github.event_name == 'pull_request' && (matrix.jobtype == 4 || matrix.jobtype == 5) }}
uses: actions/checkout@v4
with:
clean: false
ref: develop
- name: Benchmark (Scalac) against Develop Branch (4)
ref: ${{ github.event.pull_request.base.ref }}
- name: Benchmark (Scalac) against Target Branch (4)
if: ${{ github.event_name == 'pull_request' && matrix.jobtype == 4 }}
shell: bash
run: |
sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Scalac.*" "zincBenchmarks3/Jmh/clean" "runBenchmarks"
- name: Benchmark (Shapeless) against Develop Branch (5)
- name: Benchmark (Shapeless) against Target Branch (5)
if: ${{ github.event_name == 'pull_request' && matrix.jobtype == 5 }}
shell: bash
run: |
Expand Down

0 comments on commit 96aed24

Please sign in to comment.