mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-02 14:06:42 +08:00
feat: add codecov
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user