[KEYCLOAK-19311] Add testcontainers to Dist.X Integration Tests (#8946)

* Supporting running tests against the server image using test containers
This commit is contained in:
Andrea Peruffo
2021-11-29 14:20:50 +00:00
committed by GitHub
parent 79931fd607
commit cd5ccdbf3e
5 changed files with 196 additions and 6 deletions

View File

@@ -412,6 +412,12 @@ jobs:
- name: Prepare the local distribution archives
run: mvn clean install -DskipTests -Pdistribution
- name: Run Quarkus Tests in Docker
run: |
mvn clean install -nsu -B -f quarkus/tests/pom.xml -Dkc.quarkus.tests.dist=docker | misc/log/trimmer.sh
TEST_RESULT=${PIPESTATUS[0]}
exit $TEST_RESULT
- name: Run Quarkus Integration Tests
run: |
mvn clean install -nsu -B -f quarkus/tests/pom.xml | misc/log/trimmer.sh