From 233bf5e2e44409f0330f24ec2cb1f5b9f6a48234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Wa=C5=9B?= Date: Sat, 29 Jul 2023 12:16:13 +0200 Subject: [PATCH] Ignore regular tests when mapping impacted modules for product tests --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5fab70899c9..0b4d61b61150 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -840,7 +840,8 @@ jobs: - name: Map impacted plugins to features run: | export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}" - $MAVEN validate ${MAVEN_FAST_INSTALL} ${MAVEN_GIB} -Dgib.logImpactedTo=gib-impacted.log -pl '!:trino-docs' + # build a list of impacted modules, ignoring modules that cannot affect either product tests or Trino + $MAVEN validate ${MAVEN_FAST_INSTALL} ${MAVEN_GIB} -Dgib.logImpactedTo=gib-impacted.log -pl '!:trino-docs,!:trino-tests,!:trino-faulttolerant-tests' # GIB doesn't run on master, so make sure the file always exist touch gib-impacted.log testing/trino-plugin-reader/target/trino-plugin-reader-*-executable.jar -i gib-impacted.log -p core/trino-server/target/trino-server-*-hardlinks/plugin > impacted-features.log