From d56f5c497e2a39c19c608d795150b06328177025 Mon Sep 17 00:00:00 2001 From: osulzhenko Date: Thu, 25 Jan 2024 14:14:23 +0200 Subject: [PATCH] Create a separate CI file for module functional test --- .github/workflows/pr-functional-tests.yml | 2 +- .../workflows/pr-module-functional-tests.yml | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pr-module-functional-tests.yml 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..f86075b9bac --- /dev/null +++ b/.github/workflows/pr-module-functional-tests.yml @@ -0,0 +1,33 @@ +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 -B verify -DskipUnitTests=true -DskipFunctionalTests=true -Dtests.max-container-count=5 -DdockerfileName=Dockerfile-modules --file extra/pom.xml