Skip to content

Commit

Permalink
try devided gradlew
Browse files Browse the repository at this point in the history
Signed-off-by: BAStos525 <[email protected]>
  • Loading branch information
BAStos525 committed Nov 11, 2024
1 parent d3a5186 commit d8cf21f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/iroha2-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle & Sonarqube analysis
run: ./gradlew build test testCoverage sonar -Dsonar.token=${{ secrets.SONAR_TOKEN }} --info
run: |
./gradlew build --info
./gradlew test --info
./gradlew testCoverage --info
./gradlew sonar -Dsonar.token=${{ secrets.SONAR_TOKEN }} --info
- name: Show dirs
run: |
ls /home/vzyabkin/actions-runner/_work/iroha-java/iroha-java/modules/admin-client/build/reports
ls /home/vzyabkin/actions-runner/_work/iroha-java/iroha-java/modules/admin-client/build/reports/
- name: DefectDojo
if: always()
uses: C4tWithShell/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ subprojects {
}
property "sonar.java.test.binaries", "${project.projectDir}/build/test-results/test/binary"
property "sonar.junit.reportPaths", "${project.projectDir}/build/test-results/test/"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.projectDir}/reports/testCoverage/testCoverage.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.projectDir}/build/reports/testCoverage/*.xml"
}
}
}
Expand Down

0 comments on commit d8cf21f

Please sign in to comment.