lint: stage: test image: ruby:alpine script: - apk add build-base shellcheck - bin/setup - bin/lint .rspec: stage: test script: - cd /opt/spandx-gitlab - ./bin/bootstrap - ./bin/test $RSPEC_DIR --format RspecJunitFormatter --out rspec.xml variables: BUNDLE_JOBS: '2' BUNDLE_PATH: 'vendor/bundle' GIT_DEPTH: "1" GIT_STRATEGY: fetch cache: key: ${CI_COMMIT_REF_SLUG} paths: - vendor artifacts: paths: - rspec.xml reports: junit: rspec.xml unit: extends: .rspec variables: RSPEC_DIR: spec/unit integration: extends: .rspec variables: RSPEC_DIR: spec/integration