Skip to content
Snippets Groups Projects
Commit 21309c85 authored by adrian.spycher's avatar adrian.spycher
Browse files

feat: add test to ci

parent 2019de87
No related branches found
No related tags found
No related merge requests found
Pipeline #30482 passed
stages: stages:
- build - build
- test
variables: variables:
MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository" MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository"
default: default:
image: maven:3.8.6-openjdk-18
cache: cache:
key: $CI_COMMIT_REF_SLUG key: $CI_COMMIT_REF_SLUG
paths: paths:
...@@ -12,7 +14,6 @@ default: ...@@ -12,7 +14,6 @@ default:
build-backend: build-backend:
stage: build stage: build
image: maven:3.8.6-openjdk-18
before_script: before_script:
- mvn clean - mvn clean
script: script:
...@@ -20,3 +21,8 @@ build-backend: ...@@ -20,3 +21,8 @@ build-backend:
artifacts: artifacts:
paths: paths:
- target/ - target/
test_backend:
stage: test
script:
- mvn test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment