Skip to content

Commit 2ca8fb4

Browse files
authored
Merge pull request #45 from JavaSaBr/add-test-results-report
Upgrade gradle and add test report
2 parents 58cb44f + c8146f8 commit 2ca8fb4

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.github/workflows/develop.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
permissions:
13+
checks: write
1314
contents: write
1415
pull-requests: write
1516
steps:
@@ -30,6 +31,16 @@ jobs:
3031
- name: Run tests for all modules
3132
run: ./gradlew test
3233

34+
- name: Generate test report
35+
uses: mikepenz/action-junit-report@v5
36+
if: success() || failure() # always run even if the previous step fails
37+
with:
38+
report_paths: '**/build/test-results/test/TEST-*.xml'
39+
summary: true
40+
detailed_summary: true
41+
require_passed_tests: true
42+
include_passed: true
43+
3344
- name: Generate jacoco reports
3445
run: ./gradlew jacocoTestReport
3546

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
rootProject.version = "10.0.alpha1"
1+
rootProject.version = "10.0.alpha2"
22
group = 'javasabr.rlib'
33

44
allprojects {
@@ -8,6 +8,6 @@ allprojects {
88
}
99

1010
wrapper {
11-
gradleVersion = '9.0.0'
11+
gradleVersion = '9.1.0'
1212
distributionType = Wrapper.DistributionType.ALL
1313
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)