Skip to content

Commit

Permalink
Added links and titles
Browse files Browse the repository at this point in the history
  • Loading branch information
amendelzon committed Dec 12, 2023
1 parent d439f18 commit 6bac519
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
![Tests](https://github.com/rsksmart/rsk-powhsm/actions/workflows/run-tests.yml/badge.svg)
![Python linter](https://github.com/rsksmart/rsk-powhsm/actions/workflows/lint-python.yml/badge.svg)
![C linter](https://github.com/rsksmart/rsk-powhsm/actions/workflows/lint-c.yml/badge.svg)
![Middleware coverage](https://img.shields.io/endpoint?url=https://d16sboe9lzo4ru.cloudfront.net/middleware_coverage_report/badge.json)
![Firmware coverage](https://img.shields.io/endpoint?url=https://d16sboe9lzo4ru.cloudfront.net/firmware_coverage_report/badge.json)
[![Middleware coverage](https://img.shields.io/endpoint?url=https://d16sboe9lzo4ru.cloudfront.net/middleware_coverage_report/badge.json)](https://d16sboe9lzo4ru.cloudfront.net/middleware_coverage_report/index.html)
[![Firmware coverage](https://img.shields.io/endpoint?url=https://d16sboe9lzo4ru.cloudfront.net/firmware_coverage_report/badge.json)](https://d16sboe9lzo4ru.cloudfront.net/firmware_coverage_report/index.html)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)

Expand Down
2 changes: 1 addition & 1 deletion ledger/coverage/gen-coverage
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [[ $1 == "exec" ]]; then
popd > /dev/null

lcov --capture --directory $SRCDIR --list-full-path --output-file $BASEDIR/coverage.info
genhtml $BASEDIR/coverage.info --output $BASEDIR/output -p $SRCDIR
genhtml $BASEDIR/coverage.info --output $BASEDIR/output -p $SRCDIR -t "powHSM firmware"
lcov --summary $BASEDIR/coverage.info | grep lines | sed -e "s/.\+lines.\+: \([[:digit:].]\+\).\+/\1/g" > $BASEDIR/output/total
mv $BASEDIR/coverage.info $BASEDIR/output
else
Expand Down
2 changes: 1 addition & 1 deletion middleware/test-all-coverage
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [[ $1 == "exec" ]]; then
rm -rf coverage
coverage erase
coverage run -m unittest discover
coverage html -d coverage
coverage html -d coverage --title="powHSM middleware"
coverage report --format=total > coverage/total
echo "Wrote total to coverage/total"
coverage erase
Expand Down

0 comments on commit 6bac519

Please sign in to comment.