ci-cd-test/.gitlab-ci.yml
Maxime Pierront bbe279932f update config
2024-10-19 16:32:50 +02:00

22 lines
259 B
YAML

image: maven:3.8.8-openjdk-21-slim
variables:
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository
stages:
- build
- test
build:
stage: build
script:
- mvn compile
test:
stage: test
script:
- mvn test