diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 8bd6eeef..6896c56c 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -106,6 +106,30 @@ jobs: path: | target/*.jar pom.xml + + integration-tests: + name: Java ${{ matrix.java }} + runs-on: ubuntu-latest + needs: build + strategy: + matrix: + java: [8, 11, 17] + mongodb: [4] + services: + mongodb: + image: mongo:${{ matrix.mongodb }} + ports: + - 27017-27019:27017-27019 + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v2 + with: + java-version: ${{ matrix.java }} + distribution: 'adopt' + - name: Test With Maven + run: mvn clean verify -Prun-its --file pom.xml draft-release: needs: [ setup, build, release-prepare ] diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index 20adceee..af41ac58 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -81,4 +81,6 @@ jobs: if [[ "$entry" != "liquibase-mongodb-latest.xsd" ]] && [[ "$entry" != "index.htm" ]] ;then sed -ie "s/<\/ul>/