Tweak upload/download of codecov xml file
This commit is contained in:
parent
2dedad1cf2
commit
96168929ff
5
.github/workflows/nightly.yml
vendored
5
.github/workflows/nightly.yml
vendored
@ -331,7 +331,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: codecov-xml
|
name: codecov-xml
|
||||||
path: |
|
path: |
|
||||||
build/jacoco/*.xml
|
build/reports/jacoco/allCodeCoverageReport/allCodeCoverageReport.xml
|
||||||
|
|
||||||
sonarqube:
|
sonarqube:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@ -354,7 +354,8 @@ jobs:
|
|||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
artifact: codecov-xml # will restore to build/ as a local run would do
|
name: codecov-xml # will restore to build/reports/jacoco/allCodeCoverageReport/allCodeCoverageReport.xml by default
|
||||||
|
- run: ls -R build/reports # temporary check to see if the report is actually downloading correctly.
|
||||||
- run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
|
- run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
|
||||||
env:
|
env:
|
||||||
ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }}
|
ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user