You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run make coveralls. It will probably fail because it's not running on a CI system.
Run pip install cpp-coveralls to install a tool to upload coveralls data.
Run coveralls --exclude CMakeFiles --exclude go --exclude proto --exclude python --exclude third_party --exclude Testing --gcov-options '\-lp' --dump new_coveralls.json to get a newly updated json
Modify the .json file to remove service_job_id and service_name field, and add repo_token of PaddlePaddle (Ask PaddlePaddle admin for it.).
Run curl -X POST -F json_file=@new_coveralls.json https://coveralls.io/api/v1/jobs
Current coverage is generated using gconv, and fluid uses python to test c++ code, we can not get coverage across languages. So need to find a way to get it more accurate.
The text was updated successfully, but these errors were encountered:
How to generate the coverage:
coveralls.cmake
CMAKE_BUILD_TYPE
toRelease
, this can be fixed soon.cmake -DWITH_COVERAGE=ON -DCOVERALLS_UPLOAD=ON [other options] ..
, must compileWITH_GPU=ON
since CPU only unit test fails on some operators. #7546 is not fixed.make coveralls
. It will probably fail because it's not running on a CI system.pip install cpp-coveralls
to install a tool to upload coveralls data.coveralls --exclude CMakeFiles --exclude go --exclude proto --exclude python --exclude third_party --exclude Testing --gcov-options '\-lp' --dump new_coveralls.json
to get a newly updated json.json
file to removeservice_job_id
andservice_name
field, and addrepo_token
of PaddlePaddle (Ask PaddlePaddle admin for it.).curl -X POST -F json_file=@new_coveralls.json https://coveralls.io/api/v1/jobs
The problem
Current coverage is generated using
gconv
, and fluid uses python to test c++ code, we can not get coverage across languages. So need to find a way to get it more accurate.The text was updated successfully, but these errors were encountered: