snarkVM icon indicating copy to clipboard operation
snarkVM copied to clipboard

Add Codecov

Open jrchatruc opened this issue 2 years ago • 3 comments

Motivation

Add code Coverage using Tarpaulin and Codecov

Test Plan

(Write your test plan here)

Related PRs

(Link your related PRs here)

jrchatruc avatar Aug 02 '22 16:08 jrchatruc

Codecov Report

:exclamation: No coverage uploaded for pull request base (testnet3@62de4cf). Click here to learn what that means. The diff coverage is n/a.

:exclamation: Current head d1a6486 differs from pull request most recent head e5a653b. Consider uploading reports for the commit e5a653b to get more accurate results

@@            Coverage Diff             @@
##             testnet3    #927   +/-   ##
==========================================
  Coverage            ?   6.95%           
==========================================
  Files               ?     799           
  Lines               ?   28598           
  Branches            ?       0           
==========================================
  Hits                ?    1989           
  Misses              ?   26609           
  Partials            ?       0           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Aug 18 '22 17:08 codecov[bot]

Amazing! The latest build seems to error on this:

Aug 18 23:04:55.765 ERROR cargo_tarpaulin: Failed to get test coverage! Error: Failed to run tests: An error occurred while waiting for response from test: ECHILD: No child processes
Error: "Failed to get test coverage! Error: Failed to run tests: An error occurred while waiting for response from test: ECHILD: No child processes"

Could this be a timeout issue?

howardwu avatar Aug 18 '22 23:08 howardwu

Amazing! The latest build seems to error on this:

Aug 18 23:04:55.765 ERROR cargo_tarpaulin: Failed to get test coverage! Error: Failed to run tests: An error occurred while waiting for response from test: ECHILD: No child processes
Error: "Failed to get test coverage! Error: Failed to run tests: An error occurred while waiting for response from test: ECHILD: No child processes"

Could this be a timeout issue?

Yeah I thought it might be a timeout, i'll increase it to test

jrchatruc avatar Aug 19 '22 13:08 jrchatruc