Skip to content

Commit

Permalink
Update scenarios coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
aviggiano committed Jan 4, 2024
1 parent 3741fb4 commit 2515100
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Size V2 Solidity
| src/oracle/PriceFeed.sol | 100.00% (12/12) | 100.00% (21/21) | 100.00% (8/8) | 100.00% (3/3) |
| src/token/NonTransferrableToken.sol | 100.00% (8/8) | 100.00% (9/9) | 100.00% (0/0) | 100.00% (6/6) |

```markdown
┌──────────────────────────────┬────────┐
│ (index) │ Values │
├──────────────────────────────┼────────┤
Expand Down Expand Up @@ -59,6 +60,7 @@ Size V2 Solidity
│ UpdateConfig │ 2 │
│ Withdraw │ 1 │
└──────────────────────────────┴────────┘
```
<!-- END_COVERAGE -->

## Test
Expand Down
2 changes: 2 additions & 0 deletions script/update_readme_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ SCENARIOS=$(node -e "
scenarios[feature] = scenarios[feature] || 0;
scenarios[feature]++;
}
console.log('\`\`\`markdown');
console.table(scenarios);
console.log('\`\`\`');
" "$TESTS")

BEGIN=$(grep -n BEGIN_COVERAGE README.md | cut -d : -f 1)
Expand Down

0 comments on commit 2515100

Please sign in to comment.