mirror of
https://github.com/go-shiori/shiori.git
synced 2024-11-10 09:23:35 +08:00
ci: add codecov reporting (#776)
This commit is contained in:
parent
7765e5bf42
commit
7c4e5fb4e7
1 changed files with 5 additions and 0 deletions
5
.github/workflows/_test.yml
vendored
5
.github/workflows/_test.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue