Skip to content

Commit 3f5307a

Browse files
committed
👷 Add GitLab CI
1 parent 4e868d0 commit 3f5307a

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.gitlab-ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# You can override the included template(s) by including variable overrides
2+
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
3+
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
4+
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
5+
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
6+
# Note that environment variables can be set in several places
7+
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
8+
#stages:
9+
# - test
10+
#sast:
11+
# stage: test
12+
#include:
13+
# - template: Security/SAST.gitlab-ci.yml
14+
15+
variables:
16+
K_SOUP_COV_DEBUG: true
17+
K_SOUP_COV_DO: true
18+
K_SOUP_COV_HARD: true
19+
K_SOUP_COV_MIN_BRANCH: 100
20+
K_SOUP_COV_MIN_LINE: 100
21+
K_SOUP_COV_VERBOSE: true
22+
K_SOUP_COV_FORMATTERS: "html,xml,rcov,lcov,json,tty"
23+
K_SOUP_COV_MULTI_FORMATTERS: true
24+
K_SOUP_COV_COMMAND_NAME: "RSpec Coverage"
25+
26+
default:
27+
image: ruby:3.4.3
28+
29+
before_script:
30+
- gem update --silent --system
31+
- mkdir -p vendor/bundle
32+
- bundle config set path 'vendor/bundle'
33+
- chmod +t -R vendor/bundle
34+
- chmod o-w -R vendor/bundle
35+
- bundle install --jobs 4 --retry 3
36+
37+
run_tests:
38+
script:
39+
- bundle exec rake

0 commit comments

Comments
 (0)