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

Make the Coveralls badge in the README work #385

Merged
merged 2 commits into from
May 24, 2019

Conversation

mkszuba
Copy link
Contributor

@mkszuba mkszuba commented May 14, 2019

Description

Update Coveralls URIs in README.md so to get the badge working.

Use case

Our Coveralls badge as it is keeps saying "unknown" because it doesn't specify the branch in the URI, which apparently is necessary in case of Coveralls (and recommended for Travis as well). Moreover, the URI itself might be outdated.

Benefits

Actually get the badge to work.

Possible Drawbacks

Keeping it working for release branches will require updating the README as part of the release procedure.

Testing

Have you added/modified unit tests to test the changes?

No.

If so, do the tests pass/fail?

N/A

Have you run the entire test suite and no regression was detected?

No, this is a change to documentation - and a quantitative one at that.

Copy link
Contributor

@tgrego tgrego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tgrego
Copy link
Contributor

tgrego commented May 14, 2019

Actually the ?branch=master at line 7 is not needed and is perhaps best removed.
That way there is only one place to update the branch at branching and the link always stays the same.

Marek Szuba added 2 commits May 14, 2019 12:01
The Coveralls URI need to contain the branch name for the badge to work,
moreover URIs for GitHub repositories are (now?) different. The URIs use
now both are what Coveralls Web site suggests and have been demonstrated
to work in case of ensembl-xref.
The new Coveralls URI points to SVG so let us stick with a single format
for all badges.
@mkszuba mkszuba force-pushed the bugfix/readme_badge_uris_master branch from b7ebe40 to 54cc2af Compare May 14, 2019 11:02
@coveralls
Copy link

Coverage Status

Coverage remained the same at 81.455% when pulling 54cc2af on bugfix/readme_badge_uris_master into b687ee4 on master.

@tgrego tgrego requested a review from mira13 May 24, 2019 13:08
@mkszuba mkszuba merged commit 5b3acb2 into master May 24, 2019
@mkszuba mkszuba deleted the bugfix/readme_badge_uris_master branch May 24, 2019 13:10
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.

4 participants