E2E Tests #617
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: E2E Tests | |
env: | |
MAVEN_ARGS: -B -C -V -ntp -Dhttp.keepAlive=false -e | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
schedule: | |
- cron: '0 1 * * *' # Every day at 1 | |
concurrency: | |
# Only run once for latest commit per ref and cancel other (previous) runs. | |
group: ci-e2e-docker-maven-plugin-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
buildWithoutTests: | |
name: BuildWithoutTests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache .m2 registry | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: cache-e2e-${{ github.sha }}-${{ github.run_id }} | |
- name: Setup Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
- name: Install DMP | |
run: mvn ${MAVEN_ARGS} clean install -DskipTests -Djacoco.skip=true | |
build: | |
name: Docker ${{ matrix.docker }} on Linux | |
runs-on: ubuntu-latest | |
needs: buildWithoutTests | |
strategy: | |
fail-fast: false | |
matrix: | |
docker: [v25.0.2, v24.0.9, v23.0.6] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
- name: Cache .m2 registry | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: cache-e2e-${{ github.sha }}-${{ github.run_id }} | |
- name: Set up Docker | |
uses: crazy-max/ghaction-setup-docker@v2 | |
with: | |
version: ${{ matrix.docker }} | |
- name: Run Integration tests | |
run: | | |
cd it/ | |
mvn clean install |