Skip to content

Commit

Permalink
Remove manual commenting of code coverage
Browse files Browse the repository at this point in the history
Already done by Coveralls automatically.
  • Loading branch information
arikkfir committed Apr 25, 2020
1 parent cfad14c commit 3bf4a5f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,6 @@ jobs:
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.txt
- run: curl -sSL "https://coveralls.io/builds/${{ github.sha }}.json" > coverage.js
if: github.event_name == 'pull_request'
- uses: actions/github-script@0.9.0
if: github.event_name == 'pull_request'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const coverage = require('coverage')
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Coverage is now ' + coverage.coverage_change + '%'
})

# Build, tag & publish Docker image
- uses: docker/build-push-action@v1
Expand Down

0 comments on commit 3bf4a5f

Please sign in to comment.