From 2d3b430a855ef0b684e3706cd5a81fb91abe158d Mon Sep 17 00:00:00 2001 From: Remco Westerhoud Date: Mon, 11 Apr 2022 15:55:39 +0200 Subject: [PATCH] ci: switch maven profiles to modules Instead of using maven profiles to decide which tests we want to run in which scenario, we now use the new modules for this. --- .github/workflows/build-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 959df16ed..65e7b1a67 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -25,7 +25,7 @@ jobs: - name: Check license run: mvn license:check - build-and-test: + build-and-test-embedded: name: Run tests on ${{ matrix.os }} timeout-minutes: 15 needs: code-formatting @@ -49,7 +49,7 @@ jobs: - name: Build id: build - run: mvn -B -U -P embedded "-Dsurefire.rerunFailingTestsCount=5" clean install + run: mvn -B -U -pl \!:zeebe-process-test-qa-testcontainers "-Dsurefire.rerunFailingTestsCount=5" clean install - name: Archive Test Results uses: actions/upload-artifact@v2 @@ -108,7 +108,7 @@ jobs: id: build run: | rm .mvn/jvm.config - mvn -B -U -pl :zeebe-process-test-qa -am -P testcontainer "-Dsurefire.rerunFailingTestsCount=5" install -DskipChecks + mvn -B -U -pl :zeebe-process-test-qa-testcontainers -am "-Dsurefire.rerunFailingTestsCount=5" install -DskipChecks - name: Archive Test Results uses: actions/upload-artifact@v2