From e362ff1db6ab088b852fa0bb9d80a287b10e007e Mon Sep 17 00:00:00 2001 From: maxonfjvipon Date: Thu, 19 Dec 2024 14:03:13 +0300 Subject: [PATCH] bug(#3696): skip UTs --- .github/workflows/integration.yml | 47 +++++++++++++++++++++++++++++++ .github/workflows/mvn.yml | 2 +- eo-runtime/pom.xml | 4 +++ pom.xml | 3 ++ 4 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 0000000000..024b2272b3 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,47 @@ +# The MIT License (MIT) +# +# Copyright (c) 2016-2024 Objectionary.com +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +--- +name: integration +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + integration: + name: integration + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 21 + - uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ubuntu-surefire-jdk-21-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: ubuntu-surefire-jdk-21-maven- + - run: | + mvn clean install -DskipUTs --errors --batch-mode diff --git a/.github/workflows/mvn.yml b/.github/workflows/mvn.yml index ea745ef809..c4a2c36e6e 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 --errors --batch-mode + - run: mvn clean install -DskipITs --errors --batch-mode diff --git a/eo-runtime/pom.xml b/eo-runtime/pom.xml index 01eb5ab508..f0f5dea1eb 100644 --- a/eo-runtime/pom.xml +++ b/eo-runtime/pom.xml @@ -187,6 +187,7 @@ SOFTWARE. maven-surefire-plugin + ${skipUTs} random @{argLine} -Xmx${heap-size} -Xss${stack-size} -Duser.language=ru -Duser.region=RU @@ -281,6 +282,9 @@ SOFTWARE. org.apache.maven.plugins maven-failsafe-plugin + + ${skipITs} + 3.5.2 diff --git a/pom.xml b/pom.xml index d102c7cc51..16b2f89024 100644 --- a/pom.xml +++ b/pom.xml @@ -98,6 +98,8 @@ SOFTWARE. objectionary https://sonarcloud.io 4.13.2 + + @@ -401,6 +403,7 @@ SOFTWARE. maven-surefire-plugin + ${skipUTs} ${project.basedir}