# https://docs.gitlab.com/ee/ci/testing/unit_test_report_examples.html#gradle

java:
  image: alpine:latest
  stage: test
  script:
    - apk --no-cache add openjdk23 gradle --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing/
    - gradle test --no-daemon
  artifacts:
    when: always
    reports:
      junit: app/build/test-results/test/**/TEST-*.xml