Skip to content

add some tests

add some tests #785

Workflow file for this run

name: Build
on:
push:
paths:
- 'daikoku/app/**'
- 'daikoku/test/**'
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_DB: daikoku_test
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2.2.0
# setup java to use sbt
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
#test DK
- uses: coursier/cache-action@v5
- name: test
id: test
run: |
sh ./scripts/build.sh test