mirror of
https://github.com/rjNemo/go-pass-gen
synced 2026-06-12 13:46:49 +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
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '1.17'
|
go-version: '1.17'
|
||||||
- name: Run coverage
|
- name: Run tests with coverage
|
||||||
run: go test -race -coverprofile=coverage.out -covermode=atomic
|
run: go test -race -coverprofile=coverage.out -covermode=atomic && cat ./coverage.out
|
||||||
- uses: codecov/codecov-action@v2
|
- uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -19,6 +19,6 @@ web:
|
||||||
cd client && npm run start
|
cd client && npm run start
|
||||||
|
|
||||||
test:
|
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
|
.PHONY: lint run dev run-web test build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue