Skip to content

Commit

Permalink
enable forge coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Oct 13, 2023
1 parent 96dd824 commit 58a2356
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/did-eth-registry/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,19 @@
"isDefault": true
}
},
{
"label": "coverage",
"type": "shell",
"command": "forge coverage",
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": "lint",
"group": {
"kind": "test",
"isDefault": false
}
},
{
"label": "gas",
"type": "shell",
Expand Down
1 change: 1 addition & 0 deletions packages/did-eth-registry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@ RUN yarn prettier:check
RUN yarn lint
RUN forge test -v
RUN forge geiger --check contracts/*.sol
RUN forge coverage

USER did

0 comments on commit 58a2356

Please sign in to comment.