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

codecov for coverage #40

Merged
merged 16 commits into from
May 9, 2022
Merged

Conversation

itrharrison
Copy link
Collaborator

After a few attempts playing around with both coveralls and codecov, this implements codecov for posting coverage reports on SOLikeT.

I have made it draft for now, will upgrade when I have seen that the reports post correctly as comments on the PR.

One improvement could be to only run the --cov flags on one os, but this would require some small restructuring on how the tests are run.

Merging this PR will close #39

@itrharrison itrharrison self-assigned this Oct 27, 2021
@itrharrison itrharrison added the repo Related to repo functionality label Oct 27, 2021
@codecov-commenter
Copy link

codecov-commenter commented Oct 27, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@4efa452). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #40   +/-   ##
=========================================
  Coverage          ?   67.34%           
=========================================
  Files             ?       29           
  Lines             ?     1666           
  Branches          ?        0           
=========================================
  Hits              ?     1122           
  Misses            ?      544           
  Partials          ?        0           

@itrharrison itrharrison marked this pull request as ready for review October 28, 2021 14:48
@itrharrison
Copy link
Collaborator Author

itrharrison commented Nov 3, 2021

I'm not 100% convinced with how this is configured, but seeing as it doesn't touch any functionality, I feel like it is worthwhile seeing it in action.

@itrharrison itrharrison requested a review from mgerbino April 4, 2022 15:00
@itrharrison itrharrison marked this pull request as draft April 4, 2022 15:04
@itrharrison itrharrison marked this pull request as ready for review April 27, 2022 09:10
@itrharrison itrharrison merged commit 5351ca2 into simonsobs:master May 9, 2022
mgerbino pushed a commit that referenced this pull request Oct 4, 2023
* added coveralls and codecov

* typo in gha

* added coveralls official gha

* try only gha

* added path to coverage report

* try codecov again!

* codecov include report as comment

* removed coveralls comment

* eof new lines

* updated codecov gha version, options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repo Related to repo functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement test coverage
2 participants