Improved tests
This commit is contained in:
parent
8244298013
commit
49547cc3b8
11
.drone.yml
11
.drone.yml
@ -3,16 +3,19 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: animenotifier/notify.moe
|
image: golang
|
||||||
environment:
|
environment:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
ARN_ROOT: /drone/src
|
ARN_ROOT: /drone/src
|
||||||
commands:
|
commands:
|
||||||
- go version
|
- go version
|
||||||
- go mod download
|
- go mod download
|
||||||
- tsc
|
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
|
||||||
- pack
|
- nvm install node
|
||||||
- go build -v
|
- npm install -g typescript
|
||||||
|
- make tools
|
||||||
|
- make assets
|
||||||
|
- make server
|
||||||
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
- go test -v -coverprofile=coverage.txt .
|
- go test -v -coverprofile=coverage.txt .
|
||||||
|
Loading…
Reference in New Issue
Block a user