-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace coveralls with codecov Signed-off-by: André Silva <[email protected]> * Add `codecov.yml` Signed-off-by: André Silva <[email protected]> * Remove travis files Signed-off-by: André Silva <[email protected]>
- Loading branch information
1 parent
ee045f4
commit 68cd270
Showing
6 changed files
with
13 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,5 @@ jobs: | |
run: ./src/compile-and-clean-test-projects.sh | ||
- name: Test and Coverage with Maven | ||
run: mvn test jacoco:report | ||
- name: "Report: Coverage via coveralls.io" | ||
run: | | ||
export CI_BRANCH=${BRANCH_NAME_OR_REF#refs/heads/} | ||
export CI_PULL_REQUEST=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH") | ||
mvn coveralls:report --no-transfer-progress -DrepoToken=$COVERALLS_SECRET | ||
env: | ||
CI_NAME: github | ||
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }} | ||
CI_BUILD_NUMBER: ${{ github.run_id }} | ||
CI_BUILD_URL: https://github.com/${{ github.repository }}/commit/${{ github.event.after }}/checks | ||
COVERALLS_SECRET: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Report coverage to Codecov | ||
uses: codecov/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
codecov: | ||
require_ci_to_pass: no | ||
|
||
comment: false | ||
|
||
coverage: | ||
precision: 2 | ||
round: down |