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 13, 2024
1 parent 67fb23e commit 8438438
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 8438438

Please sign in to comment.