File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 22
22
- name : Install Flow CLI
23
23
run : bash -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
24
24
- 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
26
28
- name : Upload coverage reports to Codecov
27
29
uses : codecov/codecov-action@v3
28
30
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