mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 04:50:11 +08:00
feat: add codecov
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
- name: Test coverage
|
||||
run: go test -coverprofile="cover.out" ./... # quotes needed for powershell
|
||||
- name: Run coverage
|
||||
run: go test -race -coverprofile=coverage.txt -covermode=atomic
|
||||
- name: Upload coverage to Codecov
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[](https://pkg.go.dev/github.com/httprunner/httpboomer)
|
||||
[](https://github.com/httprunner/HttpBoomer/actions)
|
||||
[](https://coveralls.io/github/httprunner/HttpBoomer?branch=main)
|
||||
[](https://codecov.io/gh/httprunner/HttpBoomer)
|
||||
|
||||
# HttpBoomer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user