diff --git a/.github/workflows/pr-functional-tests.yml b/.github/workflows/pr-functional-tests.yml index e18b7eb609f..8c28b56c0c4 100644 --- a/.github/workflows/pr-functional-tests.yml +++ b/.github/workflows/pr-functional-tests.yml @@ -30,4 +30,4 @@ jobs: java-version: ${{ matrix.java }} - name: Build with Maven - run: mvn -B verify -DskipUnitTests=true -Dtests.max-container-count=5 --file extra/pom.xml + run: mvn -B verify -DskipUnitTests=true -DskipModuleFunctionalTests=true -Dtests.max-container-count=5 -DdockerfileName=Dockerfile --file extra/pom.xml diff --git a/.github/workflows/pr-module-functional-tests.yml b/.github/workflows/pr-module-functional-tests.yml new file mode 100644 index 00000000000..4fd6d51496a --- /dev/null +++ b/.github/workflows/pr-module-functional-tests.yml @@ -0,0 +1,36 @@ +name: Module functional tests + +on: + pull_request: + paths-ignore: + - 'docs/**' + - '.github/**' + branches: + - master + release: + types: + - created + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + java: [ 17 ] + + steps: + - uses: actions/checkout@v3 + + - name: Set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + cache: 'maven' + java-version: ${{ matrix.java }} + + - name: Build with Maven + run: mvn package -DskipUnitTests=true --file extra/pom.xml + + - name: Run module tests + run: mvn -B verify -DskipUnitTests=true -DskipFunctionalTests=true -Dtests.max-container-count=5 -DdockerfileName=Dockerfile-modules --file extra/pom.xml