1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00

Add coverage report by Codecov

This is needed to display coverage, and as an example of setting up
coverage counts.

Also, added badges to make the repositories look prettier.
This commit is contained in:
Vasiliy Vasilyuk
2023-07-10 23:21:09 +03:00
parent cfe9add3d7
commit 5fc60fb2f5
2 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,11 @@ jobs:
- name: Teardown test environment
run: make test-env-up
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
golangci:
name: lint
runs-on: ubuntu-latest