Fixing tests

This commit is contained in:
Laszlo Fogas 2021-02-19 09:57:34 +01:00
parent 80ecd44a08
commit d3524d6541
3 changed files with 6 additions and 4 deletions

View file

@ -7,7 +7,8 @@ pipeline:
image: golang:1.16
group: test
commands:
- go test -cover -timeout 30s $(go list ./...)
- make deps
- make test
test-frontend:
image: node:10.17.0-stretch

View file

@ -3,7 +3,7 @@ GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -
DOCKER_RUN?=
_with-docker:
$(eval DOCKER_RUN=docker run --rm -v $(shell pwd)/../../..:/go/src/ -v $(shell pwd)/build:/build -w / golang:$(GO_VERSION))
$(eval DOCKER_RUN=docker run --rm -v $(shell pwd):/go/src/ -v $(shell pwd)/build:/build -w /go/src golang:$(GO_VERSION))
all: deps build

View file

@ -3,7 +3,6 @@
An opinionated fork of the Drone CI system.
- Based on the v0.8 code tree
- Focused on team usage
- Fully Apache 2.0, no tiers
[![Go Report Card](https://goreportcard.com/badge/github.com/laszlocph/woodpecker)](https://goreportcard.com/report/github.com/laszlocph/woodpecker) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
@ -94,7 +93,9 @@ https://woodpecker.laszlo.cloud
## Who uses Woodpecker
Currently I know of one organization using this fork. With 50+ users, 130+ repos and more than 1100 builds a week.
Currently, I know of one organization using this fork. With 50+ users, 130+ repos and more than 1100 builds a week.
Leave a note here if you are using it: https://github.com/laszlocph/woodpecker/issues/122
## License