checkstyle fixes #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test-java-version: [ 11, 17, 21 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install locales on runner | |
run: sudo apt-get install -y locales-all | |
- uses: actions/setup-java@v3 | |
id: setup_build_jdk | |
name: Setup Build JDK | |
with: | |
java-version: 21 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-Pfast -Dbasepom.check.skip-enforcer=false -B -fae" | |
run: | | |
make install | |
- uses: actions/setup-java@v3 | |
id: setup_test_jdk | |
name: Setup Test JDK | |
with: | |
java-version: ${{ matrix.test-java-version }} | |
distribution: temurin | |
cache: maven | |
- name: Run unit tests | |
env: | |
MAVEN_CONFIG: "-B -fae" | |
run: | | |
make test | |
db: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
postgres-version: [ 11, 12, 13, 14, 15, 16 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install locales on runner | |
run: sudo apt-get install -y locales-all | |
- uses: actions/setup-java@v3 | |
id: setup_build_jdk | |
name: Setup Build JDK | |
with: | |
java-version: 21 | |
distribution: temurin | |
cache: maven | |
- name: Build | |
env: | |
MAVEN_CONFIG: "-Pfast -Dbasepom.check.skip-enforcer=false -B -fae" | |
run: | | |
make install | |
- name: Run unit tests | |
env: | |
MAVEN_CONFIG: "-B -fae -Dpg-embedded.postgres-version=${{ matrix.postgres-version }}" | |
run: | | |
make test |