Skip to content

Commit

Permalink
add codecov CI
Browse files Browse the repository at this point in the history
  • Loading branch information
presbrey authored Jan 27, 2025
1 parent 20be1d3 commit 2500c8a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ jobs:
run: go build -v ./...

- name: Test
run: go test -v -race -cover ./...
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: presbrey/aichat

0 comments on commit 2500c8a

Please sign in to comment.