diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 776bc61..067a689 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,25 @@ -# You can override the included template(s) by including variable overrides -# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings -# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings -# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings -# Note that environment variables can be set in several places -# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence stages: -- test -sast: + - test + +variables: + CARGO_INCREMENTAL: 0 + +test: stage: test -include: -- template: Security/SAST.gitlab-ci.yml + script: + - cargo test --all --verbose + +# pretty: +# stage: test +# allow_failure: true +# before_script: +# - rustup component add rustfmt +# script: +# - cargo fmt -- --check + +# petty: +# stage: test +# before_script: +# - rustup component add clippy +# script: +# - cargo clippy --all |