Skip to content

Commit 219355f

Browse files
bukajsytlosBrutus5000
authored andcommitted
Connect coveralls via github actions
1 parent 92a3b1f commit 219355f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/build.yaml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
GRADLE_CLI_OPTS: "--console=plain --stacktrace --quiet"
5555
DATABASE_ADDRESS: faf-db
5656
LEAGUE_DATABASE_ADDRESS: faf-league-db
57-
run: "chmod +x ./gradlew && ./gradlew ${GRADLE_CLI_OPTS} build"
57+
run: "chmod +x ./gradlew && ./gradlew ${GRADLE_CLI_OPTS} build jacocoTestReport coveralls"
5858
- name: Build and push Docker images
5959
if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags')
6060
uses: docker/build-push-action@v1.1.1
@@ -63,3 +63,7 @@ jobs:
6363
password: ${{ secrets.DOCKER_PASSWORD }}
6464
repository: faforever/faf-java-api
6565
tag_with_ref: true
66+
- name: Coveralls
67+
uses: coverallsapp/github-action@master
68+
with:
69+
github-token: ${{ secrets.GITHUB_TOKEN }}

‎gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ javaxInjectVersion=1
55
elideVersion=5.0.0-pr34
66
mysqlConnectorVersion=8.0.23
77
springfoxSwaggerVersion=3.0.0
8-
coverallsGradlePluginVersion=2.10.2
8+
coverallsGradlePluginVersion=2.12.0
99
springSecurityOauth2AutoConfigureVersion=2.3.4.RELEASE
1010
springSecurityOauth2Version=2.5.0.RELEASE
1111
guavaVersion=29.0-jre

0 commit comments

Comments
 (0)