Add codecov integration

This commit is contained in:
Andrey Pohilko
2023-05-09 11:03:23 +03:00
parent 30eb209043
commit 3a7bb3efb6

View File

@@ -19,6 +19,8 @@ jobs:
- name: Unit tests - name: Unit tests
run: | run: |
go test -v -race ./... -covermode=atomic # Run all the tests with the race detector enabled go test -v -race ./... -covermode=atomic # Run all the tests with the race detector enabled
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
- name: Static analysis - name: Static analysis
run: | run: |
go vet ./... # go vet is the official Go static analyzer go vet ./... # go vet is the official Go static analyzer