Skip to content

Commit

Permalink
Try to trigger performance tests only on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
raar1 committed Dec 6, 2024
1 parent cbb27f5 commit c34838e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
benchmark:
name: Run performance regression tests
if: github.event.pull_request.merged == true
if: github.ref == 'refs/heads/main'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:

copybenchmarks:
name: Copy benchmark results to gh-pages
if: github.event.pull_request.merged == true
if: github.ref == 'refs/heads/main'
needs: [benchmark, docs]
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit c34838e

Please sign in to comment.