-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #396 from MTES-MCT/jacoco
feat(backend): add jacoco test coverage report
- Loading branch information
Showing
3 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,20 @@ jobs: | |
- name: Install and Build Backend | ||
uses: ./.github/actions/install-and-build-backend | ||
|
||
- name: "Tests & Coverage" | ||
env: | ||
CI: true | ||
run: make back-test-coverage | ||
|
||
- name: Add coverage to PR | ||
id: jacoco | ||
uses: madrapps/[email protected] | ||
with: | ||
paths: | | ||
${{ github.workspace }}/**/backend/build/reports/jacoco/**/jacocoTestReport.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
# - name: dependency-check | ||
# uses: dependency-check/Dependency-Check_Action@main | ||
# id: dependency-check | ||
|
@@ -46,10 +60,7 @@ jobs: | |
# - name: "Analyse dependencies" | ||
# run: make back-check-dependencies | ||
|
||
# - name: "Tests" | ||
# env: | ||
# CI: true | ||
# run: make back-test | ||
|
||
|
||
# - name: "Check clean architecture" | ||
# run: make check-clean-archi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters