Skip to content
Snippets Groups Projects
Commit f0f77252 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Deploy ruby test coverage report to gitlab pages

parent 133df7ee
No related branches found
No related tags found
No related merge requests found
Loading
@@ -63,20 +63,6 @@ update-knapsack:
Loading
@@ -63,20 +63,6 @@ update-knapsack:
only: only:
- master - master
   
update-coverage:
stage: post-test
services: []
variables:
USE_DB: "false"
USE_BUNDLE_INSTALL: "true"
script:
- bundle exec scripts/merge-simplecov
artifacts:
expire_in: 31d
paths:
- coverage/index.html
- coverage/assets/
# Execute all testing suites # Execute all testing suites
   
.use-db: &use-db .use-db: &use-db
Loading
@@ -246,6 +232,21 @@ bundler:audit:
Loading
@@ -246,6 +232,21 @@ bundler:audit:
script: script:
- "bundle exec bundle-audit check --update --ignore OSVDB-115941" - "bundle exec bundle-audit check --update --ignore OSVDB-115941"
   
coverage:
stage: post-test
services: []
variables:
USE_DB: "false"
USE_BUNDLE_INSTALL: "true"
script:
- bundle exec scripts/merge-simplecov
artifacts:
expire_in: 31d
paths:
- coverage/index.html
- coverage/assets/
# Notify slack in the end # Notify slack in the end
   
notify:slack: notify:slack:
Loading
@@ -258,3 +259,17 @@ notify:slack:
Loading
@@ -258,3 +259,17 @@ notify:slack:
- tags@gitlab-org/gitlab-ce - tags@gitlab-org/gitlab-ce
- master@gitlab-org/gitlab-ee - master@gitlab-org/gitlab-ee
- tags@gitlab-org/gitlab-ee - tags@gitlab-org/gitlab-ee
pages:
before_script: []
services: []
variables: {}
stage: pages
dependencies:
- coverage
script:
- mkdir -p public/coverage-ruby
- mv coverage public/coverage-ruby
artifacts:
paths:
- public
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment