Skip to content

oops

oops #798

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/[email protected]
# 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