From fb2a65e6a9a13468ad80a4eaab6f328652502026 Mon Sep 17 00:00:00 2001 From: wal-saikiran Date: Fri, 1 Mar 2024 13:57:24 -0500 Subject: [PATCH] Pom.xml changes --- .github/workflows/maven.yml | 36 ++++++++++++++++++++++++++++++++++++ gremlin-core/pom.xml | 5 +++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000000..7b7d6329f08 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,36 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + java-version: "8" + distribution: "oracle" + - name: Build with Maven + run: mvn clean install -DskipTests -pl independent-projects/qute/core -am + + - name: Run specific test + run: mvn -pl gremlin-core test -Dtest='org.apache.tinkerpop.gremlin.process.traversal.step.util.ParametersTest#shouldAllowNullValues' + + - name: Run specific test using NON-DEX + run: mvn -pl gremlin-core edu.illinois:nondex-maven-plugin:2.1.1:nondex -DnondexRunsWithoutShuffling=10 -Dtest='org.apache.tinkerpop.gremlin.process.traversal.step.util.ParametersTest#shouldAllowNullValues' diff --git a/gremlin-core/pom.xml b/gremlin-core/pom.xml index b0d53e0b1c7..698a7f2342e 100644 --- a/gremlin-core/pom.xml +++ b/gremlin-core/pom.xml @@ -121,6 +121,11 @@ limitations under the License. org.apache.maven.plugins maven-failsafe-plugin + + edu.illinois + nondex-maven-plugin + 2.1.1 + com.google.code.maven-replacer-plugin replacer