Skip to content

Commit

Permalink
[issue-1323] - CI script: run only the openshift module for OpenShift…
Browse files Browse the repository at this point in the history
… tests
  • Loading branch information
fabiobrz committed Dec 20, 2024
1 parent cafcef4 commit 47d9502
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
distribution: 'temurin'
- name: Maven pre-fetch dependencies ${{ matrix.java }}
run: |
./mvnw clean package -q -U -DskipTests # pre-fetch dependencies
./mvnw clean install -q -U -DskipTests
- name: Build and run integration tests for Docker target (${{ matrix.java }})
if: ${{ matrix.target == 'docker' }}
run: |
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Build and run integration tests for OpenShift target (${{ matrix.java }})
if: ${{ matrix.target == 'openshift' }}
run: |
./mvnw verify -Dfailsafe.groups=org.arquillian.cube.openshift.impl.requirement.RequiresOpenshift -Dcontainerless.skip.tests=true
./mvnw verify -pl openshift -amd -Dfailsafe.groups=org.arquillian.cube.openshift.impl.requirement.RequiresOpenshift -Dcontainerless.skip.tests=true
- uses: actions/upload-artifact@v4
if: failure()
with:
Expand Down

0 comments on commit 47d9502

Please sign in to comment.