UCSBarchlab / PyRTL

A collection of classes providing simple hardware specification, simulation, tracing, and testing suitable for teaching and research. Simplicity, usability, clarity, and extensibility are the overarching goals, rather than performance or optimization.
http://ucsbarchlab.github.io/PyRTL
BSD 3-Clause "New" or "Revised" License
254 stars 76 forks source link

Enable code coverage #383

Closed mdko closed 3 years ago

mdko commented 3 years ago

Enables code coverage, and sets up the Github action to push the report to codecove.io.

codecov-commenter commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (development@8af2f14). Click here to learn what that means. The diff coverage is 91.30%.

Impacted file tree graph

@@              Coverage Diff               @@
##             development     #383   +/-   ##
==============================================
  Coverage               ?   90.99%           
==============================================
  Files                  ?       24           
  Lines                  ?     5843           
  Branches               ?        0           
==============================================
  Hits                   ?     5317           
  Misses                 ?      526           
  Partials               ?        0           
Impacted Files Coverage Δ
pyrtl/pyrtlexceptions.py 100.00% <ø> (ø)
pyrtl/core.py 85.41% <53.19%> (ø)
pyrtl/analysis.py 74.05% <72.30%> (ø)
pyrtl/visualization.py 87.61% <87.61%> (ø)
pyrtl/wire.py 94.38% <88.00%> (ø)
pyrtl/memory.py 89.17% <88.23%> (ø)
pyrtl/importexport.py 88.26% <88.26%> (ø)
pyrtl/helperfuncs.py 85.40% <92.53%> (ø)
pyrtl/passes.py 94.61% <97.18%> (ø)
pyrtl/corecircuits.py 87.08% <97.36%> (ø)
... and 13 more

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 8af2f14...9c2c91b. Read the comment docs.