diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..83f20dd --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: maven:3.8.3-openjdk-17 + +cache: + paths: + - .m2/repository + +variables: + MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository" + MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version" + +verify: + stage: test + script: + - 'mvn $MAVEN_CLI_OPTS verify' + artifacts: + when: always + reports: + junit: + - "**/target/surefire-reports/TEST-*.xml"