From f6ace6f8372abcafdddf1289cf5dfc7ac0473dc4 Mon Sep 17 00:00:00 2001 From: Jan Was Date: Wed, 9 Feb 2022 11:34:26 +0100 Subject: [PATCH] Don't build whole project when building CI test matrix --- .github/workflows/ci.yml | 5 ++--- pom.xml | 20 +++++++++++++++++++- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bfb20f5e83e..4d020dcddd8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -364,11 +364,10 @@ jobs: with: distribution: 'zulu' java-version: 11 - cache: 'maven' - - name: Maven install + - name: Maven validate run: | export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}" - $RETRY $MAVEN install ${MAVEN_FAST_INSTALL} -pl '!:trino-docs,!:trino-server,!:trino-server-rpm' + $RETRY $MAVEN validate ${MAVEN_FAST_INSTALL} -P disable-check-spi-dependencies -pl '!:trino-docs,!:trino-server,!:trino-server-rpm' - id: set-matrix run: | cat < .github/test-matrix.yaml diff --git a/pom.xml b/pom.xml index 6b94d7c44bfd..6a420a7cd823 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ io.airlift airbase - 119 + 121 io.trino @@ -1863,6 +1863,24 @@ + + + disable-check-spi-dependencies + + + + io.trino + trino-maven-plugin + + + default-check-spi-dependencies + none + + + + + + gib