Skip to content

Commit

Permalink
Fix integration verification GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
xstefank committed Jan 4, 2024
1 parent ec9592a commit b88ef69
Showing 1 changed file with 43 additions and 11 deletions.
54 changes: 43 additions & 11 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
github-token: ${{secrets.GITHUB_TOKEN}}
milestone-title: ${{steps.metadata.outputs.current-version}}

integration-verification:
integration-build-smallrye-health:
runs-on: ubuntu-latest
name: Integration verification
name: Integration - Build SmallRye Health
if: contains(github.event.pull_request.body, 'Breaking change') == false
outputs:
SNAPSHOT_VERSION: ${{ steps.version-step.outputs.SNAPSHOT_VERSION }}

steps:
- uses: actions/checkout@v2
Expand All @@ -53,29 +55,59 @@ jobs:
VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
echo "::set-output name=SNAPSHOT_VERSION::$VERSION"
integration-verification-quarkus:
runs-on: ubuntu-latest
name: Integration verification for Quarkus
if: contains(github.event.pull_request.body, 'Breaking change') == false
needs: integration-build-smallrye-health

steps:
- uses: actions/setup-java@v2
with:
java-version: 17
distribution: temurin
cache: maven

- uses: actions/checkout@v2
name: Checkout Quarkus
with:
repository: quarkusio/quarkus

- name: Quarkus integration
env:
SNAPSHOT_VERSION: ${{ needs.integration-build-smallrye-health.outputs.SNAPSHOT_VERSION }}
run: |
mvn -Dquickly -Dsmallrye-health.version=${{ steps.version-step.outputs.SNAPSHOT_VERSION }}
mvn clean verify -pl extensions/smallrye-health/deployment -Dsmallrye-health.version=${{ steps.version-step.outputs.SNAPSHOT_VERSION }}
mvn clean verify -pl tcks/microprofile-health -Dtcks -Dsmallrye-health.version=${{ steps.version-step.outputs.SNAPSHOT_VERSION }}
mvn -Dquickly -Dsmallrye-health.version="$SNAPSHOT_VERSION"
mvn clean verify -pl extensions/smallrye-health/deployment -Dsmallrye-health.version="$SNAPSHOT_VERSION"
mvn clean verify -pl tcks/microprofile-health -Dtcks -Dsmallrye-health.version="$SNAPSHOT_VERSION"
integration-verification-wildfly:
runs-on: ubuntu-latest
name: Integration verification for WildFly
if: contains(github.event.pull_request.body, 'Breaking change') == false
needs: integration-build-smallrye-health

steps:
- uses: actions/setup-java@v2
with:
java-version: 11
distribution: temurin
cache: maven

- uses: actions/checkout@v2
name: Checkout WildFly
with:
repository: wildfly/wildfly

- name: WildFly integration
- name: Quarkus integration
env:
SNAPSHOT_VERSION: ${{ needs.integration-build-smallrye-health.outputs.SNAPSHOT_VERSION }}
run: |
mvn clean install -DskipTests -DskipITs -Denforcer.skip -Dversion.io.smallrye.smallrye-health=${{ steps.version-step.outputs.SNAPSHOT_VERSION }}
mvn clean verify -pl microprofile/health-smallrye -Dversion.io.smallrye.smallrye-health=${{ steps.version-step.outputs.SNAPSHOT_VERSION }}
mvn clean verify -pl testsuite/integration/microprofile -Dts.standalone.microprofile -Dversion.io.smallrye.smallrye-health=${{ steps.version-step.outputs.SNAPSHOT_VERSION }}
mvn clean verify -pl testsuite/integration/microprofile-tck/health -Dts.standalone.microprofile -Dversion.io.smallrye.smallrye-health=${{ steps.version-step.outputs.SNAPSHOT_VERSION }}
mvn clean verify -pl testsuite/integration/manualmode -Dts.manualmode -Dtest="MicroProfile*" -Dversion.io.smallrye.smallrye-health=${{ steps.version-step.outputs.SNAPSHOT_VERSION }}
mvn clean install -DskipTests -DskipITs -Denforcer.skip -Dversion.io.smallrye.smallrye-health="$SNAPSHOT_VERSION"
mvn clean verify -pl microprofile/health-smallrye -Dversion.io.smallrye.smallrye-health="$SNAPSHOT_VERSION"
mvn clean verify -pl testsuite/integration/microprofile -Dts.standalone.microprofile -Dversion.io.smallrye.smallrye-health="$SNAPSHOT_VERSION"
mvn clean verify -pl testsuite/integration/microprofile-tck/health -Dts.standalone.microprofile -Dversion.io.smallrye.smallrye-health="$SNAPSHOT_VERSION"
mvn clean verify -pl testsuite/integration/manualmode -Dts.manualmode -Dtest="MicroProfile*" -Dversion.io.smallrye.smallrye-health="$SNAPSHOT_VERSION"
Expand Down

0 comments on commit b88ef69

Please sign in to comment.