Skip to content

Commit e41a152

Browse files
markpollackchedim
authored andcommitted
fix: skip tests during deploy phase
Remove -am flag and add -DskipTests to the deploy phase since: 1. Dependencies were already built in the test phase 2. Tests were already run in the test phase This prevents SimpleVectorStore and other dependency tests from running again during deployment. Signed-off-by: Mark Pollack <mark.pollack@broadcom.com>
1 parent 79d0480 commit e41a152

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main-push-fast.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,5 @@ jobs:
154154
run: |
155155
MODS="${{ steps.mods.outputs.modules }}"
156156
echo "INFO: Deploying affected modules to Artifactory: $MODS"
157-
./mvnw -B -q -s settings.xml -DfailIfNoTests=false -pl "$MODS" -am -amd deploy
157+
# Skip tests during deploy since we already ran them
158+
./mvnw -B -q -s settings.xml -DskipTests -pl "$MODS" -amd deploy

0 commit comments

Comments
 (0)