Skip to content

Commit

Permalink
ci: switch maven profiles to modules
Browse files Browse the repository at this point in the history
Instead of using maven profiles to decide which tests we want to run in which scenario, we now use the new modules for this.
  • Loading branch information
remcowesterhoud committed Apr 11, 2022
1 parent 3ad64d4 commit 2d3b430
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2d3b430

Please sign in to comment.