Skip to content

Commit

Permalink
ci: upload test coverage to codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
YuukanOO committed Sep 23, 2024
1 parent 02eb3c6 commit 047202f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ jobs:
run: go vet ./...

- name: Test
run: go test ./... --cover
run: go test ./... -coverprofile=coverage.txt

- name: Upload coverage
uses: paambaati/[email protected]
with:
coverageLocations: ${{github.workspace}}/coverage.txt:gocov
prefix: github.com/YuukanOO/seelf
env:
CC_TEST_REPORTER_ID: ${{ secrets.TEST_REPORTER_ID }}

frontend:
name: Frontend
Expand Down

0 comments on commit 047202f

Please sign in to comment.