mirror of
https://github.com/rjNemo/go-pass-gen
synced 2026-06-11 05:06:50 +00:00
verbose
This commit is contained in:
parent
0a26d339f4
commit
971cfc2712
2 changed files with 3 additions and 3 deletions
4
.github/workflows/tests.yaml
vendored
4
.github/workflows/tests.yaml
vendored
|
|
@ -12,8 +12,8 @@ jobs:
|
|||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.17'
|
||||
- name: Run coverage
|
||||
run: go test -race -coverprofile=coverage.out -covermode=atomic
|
||||
- name: Run tests with coverage
|
||||
run: go test -race -coverprofile=coverage.out -covermode=atomic && cat ./coverage.out
|
||||
- uses: codecov/codecov-action@v2
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -19,6 +19,6 @@ web:
|
|||
cd client && npm run start
|
||||
|
||||
test:
|
||||
go test -json -count=1 ./... -coverpkg=./... -coverprofile coverage.out -covermode=atomic | gotestfmt && go tool cover -html coverage.outt && rm coverage.outt
|
||||
go test -json -count=1 ./... -coverpkg=./... -coverprofile coverage.out -covermode=atomic | gotestfmt # && go tool cover -html coverage.out && rm coverage.out
|
||||
|
||||
.PHONY: lint run dev run-web test build
|
||||
|
|
|
|||
Loading…
Reference in a new issue