Skip to content

Commit 0f9eb32

Browse files
committed
run single gradle step
1 parent 787e9bf commit 0f9eb32

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ jobs:
2424
java-version: 1.8
2525
- name: Grant execute permission for gradlew
2626
run: chmod +x gradlew
27-
- name: Execute jacocoTestReport and Sonar
27+
- name: Execute build test jacocoTestReport and Sonar
2828
env:
2929
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
run: ./gradlew test jacocoTestReport sonarqube
31+
run: ./gradlew build test jacocoTestReport sonarqube --refresh-dependencies --no-daemon --continue
3232
# run: ./gradlew test jacocoTestReport && cp build/reports/jacoco/report.xml jacoco.xml || echo "Code coverage failed"
33-
- name: Build with Gradle
34-
run: ./gradlew build --refresh-dependencies --no-daemon --continue
3533
# - name: Push codeCoverage to Codecov
3634
# run: bash <(curl -s https://codecov.io/bash)
3735

0 commit comments

Comments
 (0)