Skip to content

Add Support to Upsert/Insert Ignore on PDB #605

Add Support to Upsert/Insert Ignore on PDB

Add Support to Upsert/Insert Ignore on PDB #605

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: PDB tests with PostgreSQL
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
name: Test PostgreSQL PDB Java ${{ matrix.java-version }}
strategy:
matrix:
java-version: [ 8, 11, 17 ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: zulu
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-java${{ matrix.java-version }}
- name: Test with PostgreSQL
run: mvn -B clean test -Ppostgresql