mitodl / rapid-response-xblock

a django app plug-in for edx-platform
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Fixing code coverage #106

Closed arslanashraf7 closed 3 years ago

arslanashraf7 commented 3 years ago

What are the relevant tickets?

https://github.com/mitodl/rapid-response-xblock/issues/103

What's this PR do?

Adds Codecov from the Github actions to upload coverage report.

How should this be manually tested?

Where should the reviewer start?

Checking the Github Actions

Any background context you want to provide?

Some time ago we migrated from Travis to Github action and in the process, the coverage stopped working.

codecov-commenter commented 3 years ago

Codecov Report

Merging #106 (9228af8) into master (cb87347) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #106   +/-   ##
=======================================
  Coverage   90.77%   90.77%           
=======================================
  Files          16       16           
  Lines         607      607           
  Branches       42       42           
=======================================
  Hits          551      551           
  Misses         51       51           
  Partials        5        5           
Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)
rapid_response_xblock/block.py 99.12% <100.00%> (ø)
rapid_response_xblock/logger.py 94.73% <100.00%> (ø)
tests/test_aside.py 100.00% <100.00%> (ø)
tests/test_events.py 100.00% <100.00%> (ø)
tests/test_utils.py 100.00% <100.00%> (ø)
tests/utils.py 92.42% <100.00%> (ø)

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 888e825...9228af8. Read the comment docs.