Interact with CircleCI artifacts
$ gem install danger-circleci
Currently we test on ruby 2.3.4 and 2.4.1, but probably runs fine on other versions.
To show links to artifactsartifacts = [ { 'title' => 'Test Report', 'path' => "#{ENV['CIRCLE_TEST_REPORTS']}/test/report.html" }, { 'title' => 'Code Coverage Report', 'path' => "#{ENV['CIRCLE_TEST_REPORTS']}/cov/index.html" } ] circleci.artifacts_links artifacts
artifacts_links
- Show links for build artifacts
should_display_message
- Checks if we can display the links to artifacts
- Clone this repo
- Run
bundle install
to setup dependencies. - Run
bundle exec rake spec
to run the tests. - Use
bundle exec guard
to automatically have tests run as you make changes. - Make your changes.