Using Testcontainers for R2DBC MySQL Integration Testing #108 #86
Workflow file for this run
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: 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 |