Skip to content
New issue

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

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

Already on GitHub? # to your account

setup coverage #191

Merged
merged 8 commits into from
Oct 9, 2021
Merged

setup coverage #191

merged 8 commits into from
Oct 9, 2021

Conversation

jyooru
Copy link
Contributor

@jyooru jyooru commented Oct 9, 2021

This PR configures codecov to track coverage for this project.

It has been configured so that:

  • coverage uploads are tagged with matrix variables, os and python-version
  • if coverage goes below 50%, codecov will add a fail status to a PR (this was what was previously set in noxfile.py)
  • the following is ignored:
    • noxfile.py
    • code in a if __name__ == "__main__" block
    • lines/blocks commented with # pragma: no cover - examples

Feel free to change anything, and let me know if you want any configuration changes.

@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2021

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #191   +/-   ##
=======================================
  Coverage        ?   92.06%           
=======================================
  Files           ?       13           
  Lines           ?     1600           
  Branches        ?        0           
=======================================
  Hits            ?     1473           
  Misses          ?      127           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0b0e17...1ccbfa9. Read the comment docs.

@bee-san
Copy link
Owner

bee-san commented Oct 9, 2021

This is very cool, thanks! :)

@bee-san bee-san merged commit 07f167c into bee-san:main Oct 9, 2021
@jyooru jyooru deleted the coverage branch October 9, 2021 08:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants