This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit dabf90533f5be3b7ff5b548c35e712644d4fd10d Author: James Netherton <[email protected]> AuthorDate: Wed Feb 9 07:26:13 2022 +0000 Run integration tests on Windows Fixes #3342 --- .github/workflows/ci-build.yaml | 51 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 05e2ae4..9873811 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -195,8 +195,6 @@ jobs: runs-on: ubuntu-latest needs: initial-mvn-install if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'JVM') - strategy: - fail-fast: false env: MAVEN_OPTS: -Xmx3000m steps: @@ -301,12 +299,10 @@ jobs: --fail-at-end \ clean test - integration-tests-alternative-jvm: + integration-tests-alternative-jdk: runs-on: ubuntu-latest needs: initial-mvn-install if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'JVM') - strategy: - fail-fast: false env: MAVEN_OPTS: -Xmx3000m steps: @@ -351,6 +347,51 @@ jobs: --fail-at-end \ clean verify + integration-tests-alternative-platform: + runs-on: ${{ matrix.os }} + needs: initial-mvn-install + strategy: + fail-fast: false + matrix: + os: [ 'windows-latest' ] + if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'JVM') + env: + MAVEN_OPTS: -Xmx3000m + steps: + - name: Setup apache-snapshots profile + shell: bash + if: github.ref == 'refs/heads/camel-main' || github.base_ref == 'camel-main' + run: | + echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV + - name: Setup oss-snapshots profile + shell: bash + if: github.ref == 'refs/heads/quarkus-main' || github.base_ref == 'quarkus-main' + run: | + echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" >> $GITHUB_ENV + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + distribution: 'temurin' + java-version: '11' + - name: Download Maven Repo + uses: actions/download-artifact@v2 + with: + name: maven-repo + path: .. + - name: Extract Maven Repo + shell: bash + run: | + tar -xzf ../maven-repo.tgz -C ~ + - name: cd integration-tests && mvn clean verify + shell: bash + run: | + cd integration-tests + ../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \ + -Dskip-testcontainers-tests -Dformatter.skip -Dimpsort.skip -Denforcer.skip \ + --fail-at-end \ + clean verify + examples-tests: needs: initial-mvn-install runs-on: ubuntu-latest
