Skip to content

Commit

Permalink
ci: replace coveralls by codecov (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
danglotb authored Oct 1, 2021
1 parent a3032dc commit df08931
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/mvn-build-dspot-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,5 @@ jobs:
run: |
export MAVEN_HOME=$(mvn --version | grep "Maven home" | cut -f 3 -d " ")
cd dspot && mvn test jacoco:report
- name: "Report: Coverage via coveralls.io"
run: |
export MAVEN_HOME=$(mvn --version | grep "Maven home" | cut -f 3 -d " ")
export CI_BRANCH=${BRANCH_NAME_OR_REF#refs/heads/}
export CI_PULL_REQUEST=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
cd dspot && 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: Codecov
uses: codecov/codecov-action@v1.5.2

0 comments on commit df08931

Please sign in to comment.