File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2222 - name : Install Flow CLI
2323 run : bash -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
2424 - name : Run tests
25- run : flow test --cover --covercode="contracts" --coverprofile=coverage.lcov --tests/test_*.cdc
25+ run : flow test --cover --covercode="contracts" --coverprofile="coverage.lcov" tests/test_*.cdc
26+ - name : Normalize coverage report filepaths
27+ run : sh ./normalize_coverage_report.sh
2628 - name : Upload coverage reports to Codecov
2729 uses : codecov/codecov-action@v3
2830 env :
Original file line number Diff line number Diff line change 1+ sed -i ' s/A.01cf0e2f2f715450.ApprovalVoting/contracts\/ApprovalVoting.cdc/' coverage.lcov
2+ sed -i ' s/A.01cf0e2f2f715450.ArrayUtils/contracts\/ArrayUtils.cdc/' coverage.lcov
3+ sed -i ' s/A.01cf0e2f2f715450.StringUtils/contracts\/StringUtils.cdc/' coverage.lcov
4+ sed -i ' s/S.ArrayUtils/contracts\/ArrayUtils.cdc/' coverage.lcov
5+ sed -i ' s/S.FooContract/contracts\/FooContract.cdc/' coverage.lcov
You can’t perform that action at this time.
0 commit comments