File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616env :
1717 REGISTRY_IMAGE : ghcr.io/aam-digital/aam-backend-service
1818
19+ permissions :
20+ contents : read
21+ id-token : write # for QLTY code coverage (https://docs.qlty.sh/migration/coverage)
22+
1923jobs :
2024 test :
2125 runs-on : ubuntu-latest
@@ -49,24 +53,10 @@ jobs:
4953 run : |
5054 ./gradlew jacocoTestReport --no-daemon
5155
52- - name : Publish code coverage to code climate
53- uses : paambaati/codeclimate-action@v9.0.0
54- env :
55- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
56- JACOCO_SOURCE_PATH : application/aam-backend-service/src/main/kotlin
57- with :
58- coverageLocations : application/aam-backend-service/build/reports/jacoco/test/jacocoTestReport.xml:jacoco
59-
60- - name : Add code coverage to PR
61- uses : madrapps/jacoco-report@v1.7.1
62- if : ${{ github.event.ref == '' }}
56+ - uses : qltysh/qlty-action/coverage@v1
6357 with :
64- paths : application/aam-backend-service/build/reports/jacoco/test/jacocoTestReport.xml
65- token : ${{ secrets.GITHUB_TOKEN }}
66- min-coverage-overall : 80
67- min-coverage-changed-files : 80
68- title : Code Coverage Analyse
69- update-comment : true
58+ oidc : true
59+ files : application/aam-backend-service/build/reports/jacoco/test/jacocoTestReport.xml:jacoco
7060
7161 build :
7262 strategy :
You can’t perform that action at this time.
0 commit comments