Skip to content

Commit

Permalink
Merge pull request #39 from kindlyops/code-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
statik authored Jan 27, 2022
2 parents 86d3f85 + 009c8db commit 5bcbfaf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,20 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
if: github.actor == 'dependabot-preview[bot]'
- name: Coverage
run: |
bazel coverage //...
echo "coverage_files=$(find bazel-out/ -name 'coverage.dat' -printf '%p, ' | sed 's/, $//')" >> $GITHUB_ENV
- name: Detected Coverage Files
run: echo ${{ env.coverage_files }}
- uses: codecov/codecov-action@v2
name: codecov upload
with:
files: ${{ env.coverage_files }}
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.17.2
go-version: 1.17.6
- name: dry run goreleaser
uses: goreleaser/goreleaser-action@master
env:
Expand Down

0 comments on commit 5bcbfaf

Please sign in to comment.