@@ -116,7 +116,7 @@ jobs:
116116 # the set command makes the build fail if mvn command fails (no change in behavior)
117117 run : |
118118 set -o pipefail
119- mvn clean verify --fae 2>&1 | tee full-build-base.log
119+ mvn -P BaseTests clean verify --fae 2>&1 | tee full-build-base.log
120120 env :
121121 CI_env : GithubAction
122122 - name : Upload full-build-base log for metrics job
@@ -146,6 +146,7 @@ jobs:
146146 # As of 2024, looks like a rate limiter is breaking the build.
147147 # As such, now we only upload from master branch, hoping it is enough.
148148 # If not, might have to remove this
149+ # ## FIXME this will need updating with other jobs running tests
149150 - if : github.ref == 'refs/heads/master'
150151 name : Upload coverage to CodeCov
151152 run : curl -s https://codecov.io/bash | bash
@@ -371,6 +372,7 @@ jobs:
371372
372373 bb-on-different-os :
373374 strategy :
375+ fail-fast : false
374376 matrix :
375377 # main build is already on ubuntu-latest
376378 os : [windows-latest, macos-latest]
@@ -400,3 +402,38 @@ jobs:
400402 run : mvn clean verify --fae
401403 env :
402404 CI_env : GithubAction
405+
406+
407+ expensive-tests :
408+ runs-on : ubuntu-latest
409+ needs : full-build-base
410+ if : needs.setup.outputs.debug == 'false'
411+ strategy :
412+ fail-fast : false
413+ matrix :
414+ profile : [ CoreTests, CoreITTests, OAV3Tests, OAV2Tests, GraphQLTests, MongoTests, H2V1Tests ]
415+ steps :
416+ - uses : actions/checkout@v6
417+ - name : Setup JDK ${{env.build-jdk}}
418+ uses : actions/setup-java@v5
419+ with :
420+ distribution : ${{env.java-distribution}}
421+ java-version : ${{env.build-jdk}}
422+ - name : Cache Maven packages
423+ uses : actions/cache@v5
424+ with :
425+ path : ~/.m2
426+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
427+ restore-keys : ${{ runner.os }}-m2
428+ - name : Build with Maven
429+ run :
430+ mvn -P ${{ matrix.profile }} clean verify --fae
431+ env :
432+ CI_env : GithubAction
433+ - name : Publish Test Report
434+ if : success() || failure()
435+ uses : mikepenz/action-junit-report@v6
436+ env :
437+ NODE_OPTIONS : " --max_old_space_size=9000"
438+ with :
439+ report_paths : ' **/target/*-reports/TEST-*.xml'
0 commit comments