[lbry] ci: separate test and lint
This commit is contained in:
parent
db25b9b11b
commit
3910319e80
2 changed files with 3 additions and 5 deletions
5
.github/workflows/basic-check.yml
vendored
5
.github/workflows/basic-check.yml
vendored
|
@ -12,12 +12,13 @@ jobs:
|
|||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
- name: Check out source
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Linters
|
||||
run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0"
|
||||
|
||||
- name: Build
|
||||
run: go build ./...
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
sh ./goclean.sh
|
||||
|
|
|
@ -9,8 +9,5 @@
|
|||
|
||||
set -ex
|
||||
|
||||
# Automatic checks
|
||||
golangci-lint run
|
||||
|
||||
env GORACE="halt_on_error=1" go test -race -tags="rpctest" -covermode atomic -coverprofile=profile.cov ./...
|
||||
go test -bench=. -benchtime=4000x ./claimtrie/
|
||||
|
|
Loading…
Add table
Reference in a new issue