Skip to content

Commit f44f134

Browse files
committed
Fixed codecov report.
1 parent 65cfaa1 commit f44f134

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/maven.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v1
11+
- uses: actions/checkout@v2
1212
- name: Set up JDK 11
1313
uses: actions/setup-java@v1
1414
with:
1515
java-version: 11
1616
- name: Build with Maven
17-
run: mvn package --file pom.xml -B
17+
run: mvn test jacoco:report --file pom.xml -B
18+
19+
- uses: codecov/codecov-action@v1
20+
with:
21+
file: ./**/target/site/jacoco/jacoco.xml
22+
name: codecov

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,5 @@ addons:
1616
- travis
1717
hostname: travis
1818

19-
before_script:
20-
- pip install --user codecov
21-
2219
after_success:
23-
- codecov
2420
- mvn sonar:sonar -Dsonar.projectKey=javadev_underscore-java11 -Dsonar.organization=javadev-github -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_LOGIN

0 commit comments

Comments
 (0)