Skip to content

Commit

Permalink
feat(devel): add tasks for test-report and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Jul 3, 2023
1 parent 11ad959 commit b4ceeb5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
10 changes: 10 additions & 0 deletions dev-assets/tasks/darwin/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ tasks:
- echo "BEARER {{.TOKEN}}"
- echo "BEARER {{.TOKEN}}" | pbcopy

test-report:
desc: Generates the test report for MIW
cmds:
- ./gradlew jacocoTestReport

coverage:
desc: Runs the coverage check
cmds:
- ./gradlew jacocoTestCoverageVerification

clean:
desc: Cleans the build directory
cmds:
Expand Down
10 changes: 10 additions & 0 deletions dev-assets/tasks/linux/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ tasks:
cmds:
- echo "BAERER $(./get_Token.sh)"

test-report:
desc: Generates the test report for MIW
cmds:
- ./gradlew jacocoTestReport

coverage:
desc: Runs the coverage check
cmds:
- ./gradlew jacocoTestCoverageVerification

clean:
desc: Cleans the build directory
cmds:
Expand Down
12 changes: 11 additions & 1 deletion dev-assets/tasks/windows/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,17 @@ tasks:
cmds:
- echo "Not implemented for windows!"

test-report:
desc: Generates the test report for MIW
cmds:
- .\gradlew.bat jacocoTestReport

coverage:
desc: Runs the coverage check
cmds:
- .\gradlew.bat jacocoTestCoverageVerification

clean:
desc: Cleans the build directory
cmds:
- gradlew.bat clean
- .\gradlew.bat clean

0 comments on commit b4ceeb5

Please sign in to comment.