File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,17 @@ jobs:
2424 - 21
2525# Current spring version only supports up to java 21
2626# - 24
27+ isNotPR :
28+ - ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
2729 test-profile : ["", "-Pintegration-test -Pskip-default-test", "-Pperformance-test -Pskip-default-test"]
2830 exclude :
2931 - platform : windows-latest
3032 java-version : 21
3133 # - platform: windows-latest
3234 # java-version: 24
35+ # Do not run performance tests on PRs
36+ - test-profile : ' -Pperformance-test -Pskip-default-test'
37+ isNotPR : false
3338 runs-on : ${{ matrix.platform }}
3439 steps :
3540 - uses : actions/checkout@v6
4247 - name : Install dependencies
4348 run : mvn clean install -DskipTests=true -D"maven.javadoc.skip"=true --batch-mode --show-version --file pom.xml
4449 - name : Test
45- # Do not run performance tests on PRs
46- if : ${{ matrix.test-profile != 'Pperformance-test -Pskip-default-test' || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') }}
4750 run : mvn test ${{ matrix.test-profile }} --batch-mode --file pom.xml
4851 # this is necessary to populate the environment variables for Coveralls properly
4952 - name : Set branch name and PR number
You can’t perform that action at this time.
0 commit comments