Skip to content

Commit

Permalink
Merge pull request #46370 from holly-cummins/disable-gib-for-integrat…
Browse files Browse the repository at this point in the history
…ion-tests

Force building everything on integration tests to work around gib issue
  • Loading branch information
gsmet authored Feb 20, 2025
2 parents 01a4918 + 577f1d6 commit 0c9ccb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,12 @@ jobs:
run: |
if [[ "${{ matrix.java.category }}" == *"Integration"* ]]; then
PL=$JVM_TEST_INTEGRATION_TESTS_SELECTOR
WORKAROUND=-Dgib.buildAll=true
else
PL=$JVM_TEST_NORMAL_TESTS_SELECTOR
fi
# Despite the pre-calculated run_jvm flag, GIB has to be re-run here to figure out the exact submodules to build.
./mvnw $COMMON_MAVEN_ARGS $COMMON_TEST_MAVEN_ARGS $PTS_MAVEN_ARGS $PL clean install -Dsurefire.timeout=1200 -Dno-test-kubernetes ${{ matrix.java.maven_args }} ${{ needs.build-jdk17.outputs.gib_args }}
./mvnw $COMMON_MAVEN_ARGS $COMMON_TEST_MAVEN_ARGS $PTS_MAVEN_ARGS $PL clean install -Dsurefire.timeout=1200 -Dno-test-kubernetes ${{ matrix.java.maven_args }} ${{ needs.build-jdk17.outputs.gib_args }} $WORKAROUND
- name: Clean Gradle temp directory
if: always()
run: devtools/gradle/gradlew --stop && rm -rf devtools/gradle/gradle-extension-plugin/build/tmp
Expand Down

0 comments on commit 0c9ccb3

Please sign in to comment.