Skip to content

Instantly share code, notes, and snippets.

@grodowski
Created June 25, 2020 19:43
Show Gist options
  • Save grodowski/72b86d02f14909664907ba660587d62e to your computer and use it in GitHub Desktop.
Save grodowski/72b86d02f14909664907ba660587d62e to your computer and use it in GitHub Desktop.
Semaphore + UndercoverCI
- name: Unit Tests
task:
jobs:
- name: RSpec
commands:
- checkout
- cache restore
- sem-version ruby 2.6.0
- bundle install --deployment --path vendor/bundle
- bundle exec rspec
- ruby -e "$(curl -s https://undercover-ci.com/uploader.rb)" -- \
--repo $SEMAPHORE_GIT_REPO_SLUG \
--commit $SEMAPHORE_GIT_REF \
--lcov coverage/lcov/<project_name>.lcov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment