CI: Add pre-coverage test check for output purposes
This commit is contained in:
parent
f5e06646e8
commit
058d36edd7
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Build Status
|
name: Vibe Check
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
@ -11,7 +11,9 @@ jobs:
|
|||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '1.17'
|
go-version: '1.18'
|
||||||
|
- name: Water's fine
|
||||||
|
run: go test -race -v ./...
|
||||||
- name: Run coverage
|
- name: Run coverage
|
||||||
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
|
Loading…
Reference in New Issue
Block a user