Skip to content

Bump org.testcontainers:db2 from 1.19.0 to 1.19.1 #3912

Bump org.testcontainers:db2 from 1.19.0 to 1.19.1

Bump org.testcontainers:db2 from 1.19.0 to 1.19.1 #3912

name: Integration Tests
on:
workflow_dispatch:
push:
branches:
- '**'
schedule:
- cron: '12 0/5 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
build:
name: Integration Tests
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java: [8, 17]
runs-on: ${{ matrix.os }}
steps:
# SETUP BUILD ENVIRONMENT
- id: prepare-maven-build
name: Prepare Maven build
uses: sualeh/[email protected]
with:
java-version: ${{ matrix.java }}
# BUILD AND TEST
- id: build-test
name: Build and run database integration tests
env:
TZ: GMT
shell: bash
run: |
# Build
mvn \
--no-transfer-progress \
--batch-mode \
-Dheavydb \
-Ddistrib \
clean package
# INSTALL GRAPHVIZ, AND RERUN DIAGRAM TESTS
- id: install-graphviz
name: Install Graphviz
uses: sualeh/[email protected]
- id: build-test-diagrams
name: Build and run diagram tests
shell: bash
run: |
# Build
mvn \
--no-transfer-progress \
--batch-mode \
--projects \
schemacrawler-diagram,schemacrawler-scripting \
--also-make \
package
# Save expected results files
.github/scripts/unit-tests-results-output.sh
- id: upload-unit-tests-results-output
name: Upload expected results files
uses: actions/upload-artifact@v3
if: always()
with:
name: unit-tests-results-output
path: ./unit-tests-results-output.zip
retention-days: 5
build-test-docker:
name: Build, run tests, and build Docker image
runs-on: ubuntu-latest
steps:
# SETUP BUILD ENVIRONMENT
- id: prepare-maven-build
name: Prepare Maven build
uses: sualeh/[email protected]
with:
java-version: 8
- id: install-graphviz
name: Install Graphviz
uses: sualeh/[email protected]
# BUILD AND TEST
- id: build-test
name: Build Docker image
shell: bash
run: |
# Build
mvn \
--no-transfer-progress \
--batch-mode \
-Ddistrib \
-Ddocker.skip=false \
clean package