Skip to content

Commit

Permalink
COH-30304 Enable gRPC compatibility tests for CE builds
Browse files Browse the repository at this point in the history
(merge main -> ce/main 109554)

[git-p4: depot-paths = "//dev/coherence-ce/main/": change = 109565]
  • Loading branch information
thegridman committed Jun 13, 2024
1 parent cb0ebea commit 133ead0
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 7 deletions.
31 changes: 31 additions & 0 deletions .github/maven/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,35 @@
<activeProfile>default</activeProfile>
</activeProfiles>

<profiles>
<profile>
<id>default</id>
<repositories>
<repository>
<id>central</id>
<name>Maven Central</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<url>https://repo.maven.apache.org/maven2/</url>
<layout>default</layout>
</repository>
<repository>
<id>sonatype</id>
<name>Sonatype Snapshots</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<layout>default</layout>
</repository>
</repositories>
</profile>
</profiles>
</settings>
5 changes: 3 additions & 2 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ jobs:
run: |
echo "Building and running tests in ${{ matrix.stage }}"
export DEV_ROOT=$(pwd)
mvn --file prj/pom.xml --batch-mode -U -e -s .github/maven/settings.xml -P-modules,${{ matrix.stage }} -Doptional -Dcoherence.SkipLargeMemoryTests=true clean install
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu -Doptional -Dcoherence.SkipLargeMemoryTests=true clean install
export SETTINGS_XML=${DEV_ROOT}/.github/maven/settings.xml
mvn --file prj/pom.xml --batch-mode -U -e -s ${SETTINGS_XML} -P-modules,${{ matrix.stage }} -Doptional -Dcoherence.SkipLargeMemoryTests=true clean install
mvn --file prj/pom.xml --batch-mode -e -s ${SETTINGS_XML} -Pmodules,-coherence,${{ matrix.stage }} -nsu -Doptional -Dcoherence.SkipLargeMemoryTests=true -Dcoherence.compatability.settings=${SETTINGS_XML} clean install
# Upload build artifacts for diagnosing failures
- name: Build Artifacts test logs
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ jobs:
run: |
echo "Building and running tests in ${{ matrix.stage }}"
export DEV_ROOT=$(pwd)
mvn --file prj/pom.xml --batch-mode -U -e -s .github/maven/settings.xml -P-modules,${{ matrix.stage }} -Doptional -Dcoherence.SkipLargeMemoryTests=true clean install
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu -Doptional -Dcoherence.SkipLargeMemoryTests=true clean install
export SETTINGS_XML=${DEV_ROOT}/.github/maven/settings.xml
mvn --file prj/pom.xml --batch-mode -U -e -s ${SETTINGS_XML} -P-modules,${{ matrix.stage }} -Doptional -Dcoherence.SkipLargeMemoryTests=true clean install
mvn --file prj/pom.xml --batch-mode -e -s ${SETTINGS_XML} -Pmodules,-coherence,${{ matrix.stage }} -nsu -Doptional -Dcoherence.SkipLargeMemoryTests=true -Dcoherence.compatability.settings=${SETTINGS_XML} clean install
# Upload build artifacts for diagnosing failures
- name: Build Artifacts test logs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

<coherence.compatability.minJavaVersion>11</coherence.compatability.minJavaVersion>
<coherence.compatability.maxJavaVersion>21</coherence.compatability.maxJavaVersion>
<skipTests>true</skipTests>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

<coherence.compatability.minJavaVersion>17</coherence.compatability.minJavaVersion>
<coherence.compatability.maxJavaVersion>21</coherence.compatability.maxJavaVersion>
<skipTests>true</skipTests>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

<coherence.compatability.minJavaVersion>17</coherence.compatability.minJavaVersion>
<coherence.compatability.maxJavaVersion/>
<skipTests>true</skipTests>
</properties>

<dependencies>
Expand Down

0 comments on commit 133ead0

Please sign in to comment.