Skip to content

Commit 4ea8ae0

Browse files
bukajsytlosBrutus5000
authored andcommitted
Closes #463 Switch to codecov
1 parent 1aac789 commit 4ea8ae0

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
comment:
2+
layout: "diff,flags,files,footer"

.github/workflows/build.yaml

Lines changed: 5 additions & 4 deletions
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 jacocoTestReport coveralls"
57+
run: "chmod +x ./gradlew && ./gradlew ${GRADLE_CLI_OPTS} build jacocoTestReport"
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,7 +63,8 @@ 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
66+
- name: Codecov
67+
uses: codecov/codecov-action@v1
6868
with:
69-
github-token: ${{ secrets.GITHUB_TOKEN }}
69+
file: ./build/reports/jacoco/test/jacocoTestReport.xml
70+
name: codecov

0 commit comments

Comments
 (0)