diff options
author | Guillaume Pasquet <dev@etenil.net> | 2022-02-15 21:25:13 +0000 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2022-02-15 21:25:13 +0000 |
commit | ed5090e427d05a0c8d413c20b754a93214034db2 (patch) | |
tree | ebf8ff7ed8668b1e7a27497761ea8e9ed3f1a22b /.gitlab-ci.yml | |
parent | 60f721b94ae70533a4a6ee9ffa7d24e5a19abff5 (diff) |
Add gitlab-ci
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 |