summaryrefslogtreecommitdiff
path: root/.gitlab/test.yml
diff options
context:
space:
mode:
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