Skip to content

Commit

Permalink
summarize functions
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed May 26, 2024
1 parent 159c601 commit 43272c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@ jobs:
run: npm ci

- name: Coverage
run: echo 'Hi\nBye\n' > .coverage.info # npm run coverage

- name: Display coverage report
id: coverage
run: echo "summary=$(cat .coverage.info)" >> $GITHUB_OUTPUT
run: |
npm run coverage
echo "summary=$(cat .coverage.info)" >> $GITHUB_OUTPUT
- name: Find Code Coverage comment
uses: peter-evans/find-comment@v3
Expand Down
2 changes: 1 addition & 1 deletion scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ for d in ./move/*/; do

echo "\nCoverage report for module $d\n" >> .coverage.info

"$SUI" move coverage summary --path "$d" >> .coverage.info
"$SUI" move coverage summary --summarize-functions --path "$d" >> .coverage.info

# Display source code with coverage info
# find "$d/sources" -type f -name '*.move' | while IFS= read -r f; do
Expand Down

0 comments on commit 43272c7

Please sign in to comment.