Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simplecov dev dependency and integrate Code Climate #38

Merged
merged 3 commits into from
May 24, 2024

Conversation

darronschall
Copy link
Contributor

@darronschall darronschall commented May 24, 2024

Adds the simplecov gem as a development dependency.

Adds integration with CodeClimate for reporting test coverage via the rspec GitHub Action. I did set the repository secret for the CC_TEST_REPORTER_ID value so the action picks it up.

To check coverage locally, set COVERAGE=true:

COVERAGE=true bundle exec rake spec

Don't forget to `rm Gemfile.lock && bundle install`
We default to not running with coverage to speed up the suite. To run with coverage locally, use:

```
COVERAGE=true bundle exec rake spec
```
@darronschall darronschall merged commit 04013d2 into main May 24, 2024
5 checks passed
@darronschall darronschall deleted the add-simplecov-and-code-climate branch May 24, 2024 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants