From 3ff2fdfedaf63f0e88cb107e783055e2f21856fe Mon Sep 17 00:00:00 2001 From: Jonah Bauer Date: Thu, 28 Oct 2021 21:05:47 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitlab-ci.yml 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"