diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 7c2fa66547..9dc2f33c79 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -47,7 +47,7 @@ jobs: - run: | # Clean the test classes to avoid caching issues and prepare testing environment # without running the tests - mvn clean install -Pqulice -DskipTests -DskipITs -Dinvoker.skip=true + mvn clean install -Pqulice -PskipTests # Find script SCRIPT=${GITHUB_WORKSPACE}/src/test/scripts/test-repetition.sh # Check that script is exists diff --git a/.github/workflows/hone.yml b/.github/workflows/hone.yml index 64d73a8262..00f721eb46 100644 --- a/.github/workflows/hone.yml +++ b/.github/workflows/hone.yml @@ -43,5 +43,5 @@ jobs: key: maven-${{ hashFiles('**/pom.xml') }} restore-keys: | maven- - - run: mvn install -DskipTests -Dinvoker.skip -Phone + - run: mvn install -PskipTests -Phone - run: mvn test -Phone -pl :eo-runtime diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 024b2272b3..5c17727aac 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -44,4 +44,4 @@ jobs: key: ubuntu-surefire-jdk-21-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ubuntu-surefire-jdk-21-maven- - run: | - mvn clean install -DskipUTs --errors --batch-mode + mvn clean install -PskipUTs --errors --batch-mode diff --git a/.github/workflows/mvn.yml b/.github/workflows/mvn.yml index c4a2c36e6e..cfc6a43cd7 100644 --- a/.github/workflows/mvn.yml +++ b/.github/workflows/mvn.yml @@ -57,4 +57,4 @@ jobs: - uses: JesseTG/rm@v1.0.3 with: path: ~/.m2/repository/org/eolang - - run: mvn clean install -DskipITs --errors --batch-mode + - run: mvn clean install -PskipITs --errors --batch-mode diff --git a/.github/workflows/qulice.yml b/.github/workflows/qulice.yml index 36bf451ff6..e252b11d2a 100644 --- a/.github/workflows/qulice.yml +++ b/.github/workflows/qulice.yml @@ -43,4 +43,4 @@ jobs: path: ~/.m2/repository key: ubuntu-qulice-jdk-21-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ubuntu-qulice-jdk-21-maven- - - run: mvn clean verify -DskipTests -DskipITs -Pqulice --errors --batch-mode + - run: mvn clean verify -PskipTests -Pqulice --errors --batch-mode diff --git a/eo-maven-plugin/README.md b/eo-maven-plugin/README.md index cbebc9fd5a..de2c85c7db 100644 --- a/eo-maven-plugin/README.md +++ b/eo-maven-plugin/README.md @@ -149,19 +149,14 @@ Here `fibonacci` is the name of the desired integration test, `-DskipTests` is u It is sometime necessary to temporarily disable the integration tests (for example for introducing braking changes into plugin or EO runtime). This can be achieved by disabling `maven-invoker-plugin` -execution within `eo-maven-plugin/pom.xml`: +using profile: -```xml - - ... - - maven-invoker-plugin - 0.49.2 - - true - true - - - ... - +```shell +mvn clean install -PskipITs +``` + +or by setting skipITs property: + +```shell +mvn clean install -DskipITs ``` diff --git a/eo-maven-plugin/pom.xml b/eo-maven-plugin/pom.xml index 17f5076eaa..6509e8fd76 100644 --- a/eo-maven-plugin/pom.xml +++ b/eo-maven-plugin/pom.xml @@ -299,8 +299,8 @@ SOFTWARE. maven-invoker-plugin - ${skipTests} - ${skipTests} + ${skipITs} + ${skipITs} diff --git a/pom.xml b/pom.xml index fc22c92970..875e566553 100644 --- a/pom.xml +++ b/pom.xml @@ -424,6 +424,40 @@ SOFTWARE. + + skipTests + + + skipTests + + + + true + true + + + + skipITs + + + skipITs + + + + true + + + + skipUTs + + + skipUTs + + + + true + + qulice