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

Configure codecov status checks in PRs #663

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .config/.codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
ignore:
- "spec/"
- "*_spec.rb"

# https://docs.codecov.com/docs/commit-status
coverage:
status:
project: off
patch: off
4 changes: 2 additions & 2 deletions app/helpers/talks_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
end

def speaker_icon_class(talk)
return "fas fa-user" unless talk.speakers.count > 1
return "fas fa-user this is a codecov test" unless talk.speakers.count > 1

Check warning on line 21 in app/helpers/talks_helper.rb

View check run for this annotation

Codecov / codecov/patch

app/helpers/talks_helper.rb#L21

Added line #L21 was not covered by tests

"fas fa-users"
"fas fa-users this is a codecov test"

Check warning on line 23 in app/helpers/talks_helper.rb

View check run for this annotation

Codecov / codecov/patch

app/helpers/talks_helper.rb#L23

Added line #L23 was not covered by tests
end

def speaker_icon(talk)
Expand Down