summaryrefslogtreecommitdiff
path: root/.gitlab/test.yml
diff options
context:
space:
mode:
authorCan Eldem <celdem@gitlab.com>2020-07-10 16:41:15 +0000
committerCan Eldem <celdem@gitlab.com>2020-07-10 16:41:15 +0000
commitc17546f6cfccf07d27f7984321fe62a7788e8da1 (patch)
tree54093c956c0f4dcf4c2ad352847017aee9a88edc /.gitlab/test.yml
parentc7385965b4166fb6ab2db3387c67cd54aef1b8df (diff)
parent36cdb0040abda394264455a1fdf3d6782af95ceb (diff)
Merge branch '217897-isolated-omnibus-lm' into 'master'v3.17.0
Isolate license_management ruby from project ruby See merge request gitlab-org/security-products/license-management!181
Diffstat (limited to '.gitlab/test.yml')
-rw-r--r--.gitlab/test.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.gitlab/test.yml b/.gitlab/test.yml
index 506f344..00c9434 100644
--- a/.gitlab/test.yml
+++ b/.gitlab/test.yml
@@ -22,7 +22,7 @@ lint:
stage: test
image: ruby:alpine
script:
- - apk add build-base shellcheck
+ - apk add bash build-base git shellcheck
- bin/setup
- bin/lint
needs: []
@@ -30,17 +30,16 @@ lint:
.rspec:
stage: test
script:
- - bash -lc './bin/test $RSPEC_DIR --format RspecJunitFormatter --out rspec.xml'
+ - ./bin/setup
+ - ./bin/test $RSPEC_DIR --format RspecJunitFormatter --out rspec.xml
variables:
- BUNDLE_JOBS: '2'
- BUNDLE_PATH: 'vendor/bundle'
GIT_DEPTH: "10"
GIT_STRATEGY: fetch
LOG_LEVEL: debug
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- - vendor/bundle
+ - vendor
artifacts:
paths:
- coverage/coverage.xml