Skip to content

Using Testcontainers for R2DBC MySQL Integration Testing #108 #86

Using Testcontainers for R2DBC MySQL Integration Testing #108

Using Testcontainers for R2DBC MySQL Integration Testing #108 #86

name: Integration Tests
on:
pull_request:
branches: [ "trunk", "0.9.x" ]
jobs:
integration-tests-pr:
runs-on: ubuntu-20.04
strategy:
matrix:
mysql-version: [ 5.5, 5.6, 5.7, 8.0, 8.1, 8.2 ]
name: Integration test with MySQL ${{ matrix.mysql-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Temurin 8
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: maven
- name: Integration test with MySQL ${{ matrix.mysql-version }}
run: ./mvnw -B verify -Dmaven.javadoc.skip=true -Dmaven.surefire.skip=true -Dtest.mysql.password=r2dbc-password!@ -Dtest.mysql.version=${{ matrix.mysql-version }} -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN