From 34e21e69db0fbc639dff86f488b949be3e26e6cb Mon Sep 17 00:00:00 2001 From: Daniel Hahne Date: Wed, 10 Jul 2024 13:55:11 +0200 Subject: [PATCH] Add Maven Option to Skip Unit Tests --- .github/workflows/build.yml | 4 ++-- pom.xml | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21299e24..e68994d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,7 +66,7 @@ jobs: run: mvn ${MAVEN_ARGS} test --projects ${{ matrix.agent }} - name: Integration Tests - run: mvn ${MAVEN_ARGS} verify --projects ${{ matrix.agent }} -DskipTests + run: mvn ${MAVEN_ARGS} verify --projects ${{ matrix.agent }} -DskipUnitTests - name: Build Agent - run: mvn ${MAVEN_ARGS} install --projects ${{ matrix.agent }} -DskipTests -DskipITs + run: mvn ${MAVEN_ARGS} install --projects ${{ matrix.agent }} -DskipTests diff --git a/pom.xml b/pom.xml index 7448b96f..ec1f93aa 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 pom @@ -28,6 +29,7 @@ UTF-8 3.2.5 5.10.2 + false @@ -112,6 +114,9 @@ ${junit-jupiter.version} + + ${skipUnitTests} +