Merge branch 'codecov' into 'main'
ci: change to codecov binary instead of bash uploader See merge request unboundsoftware/shiny/authz_client!9
This commit was merged in pull request #12.
This commit is contained in:
+3
-5
@@ -25,8 +25,6 @@ test:
|
|||||||
- CGO_ENABLED=1 go test -mod=readonly -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=$(go list ./... | tr '\n' , | sed 's/,$//') ./...
|
- CGO_ENABLED=1 go test -mod=readonly -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=$(go list ./... | tr '\n' , | sed 's/,$//') ./...
|
||||||
- go tool cover -html=coverage.txt -o coverage.html
|
- go tool cover -html=coverage.txt -o coverage.html
|
||||||
- go tool cover -func=coverage.txt
|
- go tool cover -func=coverage.txt
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- curl -Os https://uploader.codecov.io/latest/linux/codecov
|
||||||
artifacts:
|
- chmod +x codecov
|
||||||
paths:
|
- ./codecov -t ${CODECOV_TOKEN}
|
||||||
- coverage.html
|
|
||||||
- coverage.txt
|
|
||||||
|
|||||||
Reference in New Issue
Block a user