Skip to content

Commit 83195ad

Browse files
committed
skip tests when building for sam
1 parent 0fbe072 commit 83195ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ test: download-dependencies
3939

4040
# build targets for SAM
4141
# the target must be build-<RESOURCE_NAME>
42+
# note - we skip tests here as they will have already been run as part of the pipeline
4243
build-FHIRValidatorUKCore: download-dependencies
43-
mvn clean package -Pcurrent
44+
mvn clean package -Pcurrent -Dmaven.test.skip=true
4445
mkdir -p $(ARTIFACTS_DIR)/lib
4546
cp ./target/FHIRValidator-current.jar $(ARTIFACTS_DIR)/lib/
4647

4748
build-FHIRValidatorNHSDigital: download-dependencies
48-
mvn clean package -Plegacy
49+
mvn clean package -Plegacy -Dmaven.test.skip=true
4950
mkdir -p $(ARTIFACTS_DIR)/lib
5051
cp ./target/FHIRValidator-legacy.jar $(ARTIFACTS_DIR)/lib/
5152

0 commit comments

Comments
 (0)