Skip to content

Postgres

Postgres #1030

Workflow file for this run

name: Postgres
on:
workflow_dispatch:
schedule:
- cron: '10 6 * * *'
jobs:
build:
runs-on: ${{ matrix.os }}
permissions:
contents: read
packages: write
strategy:
fail-fast: false
matrix:
java_version: [11]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java_version }}
distribution: 'adopt'
- name: Maven cache
uses: actions/cache@v4
env:
cache-name: maven-cache
with:
path:
~/.m2
key: build-${{ env.cache-name }}
- name: maven-settings
uses: s4u/maven-settings-action@v2
with:
servers: '[{"id": "github-release", "username": "dummy", "password": "${GITHUB_TOKEN}"}]'
githubServer: false
- name: postgres
run: mvn -T 8 clean test -Dprops.file=testconfig/ebean-postgres.properties -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}