Skip to content

RIPE NCC has merged da3dda60e #58

RIPE NCC has merged da3dda60e

RIPE NCC has merged da3dda60e #58

Workflow file for this run

name: JUnit Tests
on:
pull_request:
push:
jobs:
build-test:
name: Build & Test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_USER: certdb
POSTGRES_PASSWORD: certdb
POSTGRES_DB: certdb_test
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4
- name: setup java
uses: actions/setup-java@4
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Run tests
run: ./gradlew test
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: JUnit Tests
path: 'build/test-results/test/TEST-*.xml'
reporter: java-junit