Skip to content

Multi-database platform #9

Multi-database platform

Multi-database platform #9

name: Multi-database platform
on: [workflow_dispatch]
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@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java_version }}
distribution: 'adopt'
- name: Maven cache
uses: actions/cache@v3
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: h2database
run: mvn clean test -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: postgres
run: mvn clean test -Dprops.file=testconfig/ebean-postgres.properties -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: mysql
run: mvn clean test -Dprops.file=testconfig/ebean-mysql.properties -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: mariadb
run: mvn clean test -Dprops.file=testconfig/ebean-mariadb.properties -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: yugabyte
run: mvn clean test -Dprops.file=testconfig/ebean-yugabyte.properties -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: sqlserver
run: mvn clean test -Dprops.file=testconfig/ebean-sqlserver17.properties -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: sqlserver19
# run: mvn clean test -Dprops.file=testconfig/ebean-sqlserver19.properties
# - name: db2
# run: mvn clean test -Dprops.file=testconfig/ebean-db2.properties
# - name: oracle
# run: mvn clean test -Dprops.file=testconfig/ebean-oracle.properties