ci: add codecov reporting (#776)

This commit is contained in:
Felipe Martin 2023-11-12 14:07:14 +01:00 committed by GitHub
parent 7765e5bf42
commit 7c4e5fb4e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,3 +55,8 @@ jobs:
SHIORI_TEST_MYSQL_URL: "shiori:shiori@(localhost:3306)/shiori"
- run: CGO_ENABLED=0 go build -tags osusergo,netgo -ldflags="-s -w -X main.version=$(git describe --tags) -X main.date=$(date --iso-8601=seconds)"
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # 3.1.4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}