Created
June 25, 2020 19:43
-
-
Save grodowski/72b86d02f14909664907ba660587d62e to your computer and use it in GitHub Desktop.
Semaphore + UndercoverCI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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