[lbry] ci: separate test and lint

This commit is contained in:
Roy Lee 2021-09-14 11:40:34 -07:00
parent db25b9b11b
commit 3910319e80
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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/