add driver versions to the matrix
@@ -13,6 +13,7 @@ jobs:
matrix:
java: [ 11, 15 ]
mongo: [ 4.4.2, 4.2.11, 4.0.21, 3.6.21 ]
+ driver: [ 4.1.1, 4.0.5, 3.12.7, 3.11.2, 3.10.2 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
@@ -28,7 +29,7 @@ jobs:
- name: Build with Maven
env:
MONGODB: ${{ matrix.mongo }}
- run: mvn -B verify --file pom.xml
+ run: mvn -B verify --file pom.xml -Ddriver.version=${{ matrix.driver }}
Quality:
name: Run code quality checks
runs-on: ubuntu-latest
