From e8abe718337ebfb82cdb5e63cd1da16559126a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Barto=C5=A1?= Date: Wed, 23 Aug 2023 08:43:27 +0200 Subject: [PATCH] Add Quarkus Unit tests to GHA CI (#22073) --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac5443b1ec..e13d13692b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,6 +110,27 @@ jobs: with: job-name: Base IT + quarkus-unit-tests: + name: Quarkus UT + needs: build + timeout-minutes: 15 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + # We want to download Keycloak artifacts + - id: integration-test-setup + name: Integration test setup + uses: ./.github/actions/integration-test-setup + + - name: Run unit tests + run: | + ./mvnw test -f quarkus/pom.xml -pl '!tests,!tests/junit5,!tests/integration,!dist' + + - name: Upload JVM Heapdumps + if: always() + uses: ./.github/actions/upload-heapdumps + quarkus-integration-tests: name: Quarkus IT needs: build @@ -590,6 +611,7 @@ jobs: needs: - unit-tests - base-integration-tests + - quarkus-unit-tests - quarkus-integration-tests - jdk-integration-tests - new-store-integration-tests