mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
ci: use sed to remove generated files
This commit is contained in:
parent
f4c3573343
commit
ae41a45393
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
|
@ -63,10 +63,14 @@ jobs:
|
|||
run: go build -v ./cmd/bbgo
|
||||
|
||||
- name: Test
|
||||
run: go test -race -coverprofile coverage.txt -covermode atomic ./pkg/...
|
||||
run: |
|
||||
go test -race -coverprofile coverage.txt -covermode atomic ./pkg/...
|
||||
sed -i -e '/_requestgen.go/d' coverage.txt
|
||||
|
||||
- name: TestDnum
|
||||
run: go test -race -coverprofile coverage_dnum.txt -covermode atomic -tags dnum ./pkg/...
|
||||
run: |
|
||||
go test -race -coverprofile coverage_dnum.txt -covermode atomic -tags dnum ./pkg/...
|
||||
sed -i -e '/_requestgen.go/d' coverage_dnum.txt
|
||||
|
||||
- name: Upload Coverage Report
|
||||
uses: codecov/codecov-action@v3
|
||||
|
|
Loading…
Reference in New Issue
Block a user