This commit is contained in:
Masaaki Goshima 2021-06-06 18:44:10 +09:00
parent ec4ff740c4
commit ad4e03eeff
2 changed files with 4 additions and 4 deletions

View File

@ -24,13 +24,13 @@ jobs:
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: simple test - name: simple test
run: go test -v ./ -count=1 run: go test -v ./... -count=1
- name: test with GC pressure - name: test with GC pressure
run: go test -v ./ -count=1 run: go test -v ./... -count=1
env: env:
GOGC: 1 GOGC: 1
- name: test with race detector - name: test with race detector
run: go test -v -race ./ -count=1 run: go test -v -race ./... -count=1
bench: bench:
name: Benchmark name: Benchmark
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -14,7 +14,7 @@ $(BIN_DIR):
.PHONY: cover .PHONY: cover
cover: cover:
go test -coverpkg=$(COVERPKG_OPT) -coverprofile=cover.out . go test -coverpkg=$(COVERPKG_OPT) -coverprofile=cover.out ./...
.PHONY: cover-html .PHONY: cover-html
cover-html: cover cover-html: cover