.gitlab-ci.yml 396 Bytes
Newer Older
Matthias Betz's avatar
Matthias Betz committed
1
2
3
4
5
image: gradle:jdk17-alpine

before_script:
  - GRADLE_USER_HOME="$(pwd)/.gradle"
  - export GRADLE_USER_HOME
Matthias Betz's avatar
Matthias Betz committed
6
7


8
test:
Matthias Betz's avatar
Matthias Betz committed
9
10
11
12
13
14
15
  stage: test
  script:
    - cd CityDoctorParent
    - gradle test
  artifacts:
    when: always
    reports:
16
17
18
19
20
21
22
      junit: CityDoctorParent/*/build/test-results/test/**/TEST-*.xml
  cache:
    key: "$CI_COMMIT_REF_NAME"
    policy: pull
    paths:
      - build
      - .gradle