Skip to content

Commit

Permalink
ci: add codecov report upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Oct 15, 2024
1 parent 1d846cb commit 7e0f11c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,13 @@ jobs:
--allow-privileged
--secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY
${{ contains(github.event.pull_request.labels.*.name, 'no-cache') && '--no-cache' || '' }}
+tests
+tests --coverage=true
env:
SPEAKEASY_API_KEY: ${{ secrets.SPEAKEASY_API_KEY }}
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

GoReleaser:
runs-on: "ubuntu-latest"
Expand Down

0 comments on commit 7e0f11c

Please sign in to comment.