chore: add tests in DroneCI pt2
continuous-integration/drone/push Build is passing Details

pull/1/head
Davide Polonio 2023-03-27 09:38:45 +02:00
parent 3b781c421c
commit c15e57febe
1 changed files with 23 additions and 4 deletions

View File

@ -9,7 +9,26 @@ steps:
- ./mvnw package -B -DskipTests=true - ./mvnw package -B -DskipTests=true
- name: Tests - name: Tests
image: quay.io/testcontainers/dind-drone-plugin image: quay.io/testcontainers/dind-drone-plugin
build_image: eclipse-temurin:17-jdk environment:
CI_WORKSPACE: "/drone/src"
settings:
cmd: ./mvnw test cmd: ./mvnw test
build_image: eclipse-temurin:17-jdk
prefetch_images: prefetch_images:
- "postgres:13-alpine" - "postgres:13-alpine"
volumes:
- name: dockersock
path: /var/run
# Specify docker:dind as a service
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}