Skip to content

Commit

Permalink
upload test results to codeco
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Sep 26, 2024
1 parent e32eccd commit e21bf28
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 18 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ jobs:
allowed-endpoints: >
${{ env.ALLOWED_ENDPOINTS }}
badgen.net:443
codecov.io:443
cli.codecov.io:443
uploader.codecov.io:443
- name: Download Tests
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- name: Decompress
Expand Down Expand Up @@ -329,6 +332,20 @@ jobs:
gist_description: Test Results
github_file: badge.svg
gist_title: badge.svg
- name: Combine JUnit XML files
run: |
echo '<?xml version="1.0" encoding="UTF-8"?>' > combined-tests.xml
echo '<testsuites>' >> combined-tests.xml
for file in $(find . -type f -name 'TEST-*.xml'); do
sed -n '/<testsuite/,/<\/testsuite>/p' $file >> combined-tests.xml
done
echo '</testsuites>' >> combined-tests.xml
- name: Publish to Codecov
uses: codecov/test-results-action@1b5b448b98e58ba90d1a1a1d9fcb72ca2263be46 # v1.0.0
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: combined-tests.xml

publish-snapshot:
name: Publish Snapshot
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
caffeine = "3.1.8"
junit = "5.11.0"
junit = "5.11.1"
reactor = "3.6.10"
truth = "1.4.4"
versions = "0.51.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion examples/graal-native/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
caffeine = "3.1.8"
graal = "0.10.2"
junit = "5.11.0"
junit = "5.11.1"
truth = "1.4.4"
versions = "0.51.0"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion examples/hibernate/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
caffeine = "3.1.8"
h2 = "2.3.232"
hibernate = "7.0.0.Beta1"
junit = "5.11.0"
junit = "5.11.1"
log4j2 = "3.0.0-beta2"
truth = "1.4.4"
versions = "0.51.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion examples/indexable/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
caffeine = "3.1.8"
guava = "33.3.0-jre"
junit-jupiter = "5.11.0"
junit-jupiter = "5.11.1"
truth = "1.4.4"
versions = "0.51.0"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion examples/resilience-failsafe/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
caffeine = "3.1.8"
failsafe = "3.3.2"
junit = "5.11.0"
junit = "5.11.1"
truth = "1.4.4"
versions = "0.51.0"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion examples/write-behind-rxjava/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
awaitility = "4.2.2"
caffeine = "3.1.8"
junit = "5.11.0"
junit = "5.11.1"
rxjava = "3.1.9"
versions = "0.51.0"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ findsecbugs = "1.13.0"
flip-tables = "1.1.1"
forbidden-apis = "3.7"
google-java-format = "1.23.0"
guava = "33.3.0-jre"
guava = "33.3.1-jre"
guice = "6.0.0"
h2 = "2.3.232"
hamcrest = "3.0"
hazelcast = "5.3.7"
httpclient = "4.5.14"
idea = "1.1.8"
idea = "1.1.9"
jackrabbit = "1.68.0"
jackson = "2.17.2"
jacoco = "0.8.12"
Expand All @@ -62,7 +62,7 @@ json-bind = "1.0"
jsoup = "1.18.1"
junit-testng = "1.0.5"
junit4 = "4.13.2"
junit5 = "5.11.0"
junit5 = "5.11.1"
jvm-dependency-conflict-resolution = "2.1.2"
kotlin = "2.0.20"
lincheck = "2.34"
Expand All @@ -86,7 +86,7 @@ snakeyaml = "2.3"
sonarqube = "5.1.0.4882"
spotbugs = "4.8.6"
spotbugs-contrib = "7.6.4"
spotbugs-plugin = "6.0.22"
spotbugs-plugin = "6.0.23"
stream = "2.9.8"
tcache = "2.0.1"
testng = "7.10.2"
Expand All @@ -96,7 +96,7 @@ versions = "0.51.0"
xz = "1.10"
ycsb = "0.17.0"
zero-allocation-hashing = "0.26ea0"
zstd = "1.5.6-5"
zstd = "1.5.6-6"

[libraries]
asm-bom = { module = "org.ow2.asm:asm-bom", version.ref = "asm" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit e21bf28

Please sign in to comment.