aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <>2023-01-12 07:44:04 +0100
committerThomas <>2023-01-12 07:44:04 +0100
commita070139872c65dc19d7fdd0b489474165627a4f1 (patch)
tree5b6685b0d5f8ef0dd53024f4a1217ab252f622d8
parentb35bdd12f605dc1017b4ac892a8e033e25e685c1 (diff)
downloadpdf-as-4-a070139872c65dc19d7fdd0b489474165627a4f1.tar.gz
pdf-as-4-a070139872c65dc19d7fdd0b489474165627a4f1.tar.bz2
pdf-as-4-a070139872c65dc19d7fdd0b489474165627a4f1.zip
build(ci): optimize dependency and code validation
-rw-r--r--.gitlab-ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1cd13b89..23eacde9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,17 @@ include:
- template: Security/SAST.gitlab-ci.yml
- template: Secret-Detection.gitlab-ci.yml
+## skip jUnit tests in Test jobs to speed-up build time
+dependency_scanning:
+ variables:
+ MAVEN_CLI_OPTS: "-DskipTests --settings ${CI_PROJECT_DIR}/.cisettings.xml"
+ DS_JAVA_VERSION: 11
+
+spotbugs-sast:
+ variables:
+ MAVEN_CLI_OPTS: "-DskipTests --settings ${CI_PROJECT_DIR}/.cisettings.xml"
+ SAST_JAVA_VERSION: 11
+
default:
tags:
- docker