From d3524d65418aae0dd861bd5b9481bda14f7f04eb Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Fri, 19 Feb 2021 09:57:34 +0100 Subject: [PATCH] Fixing tests --- .drone.yml | 3 ++- Makefile | 2 +- README.md | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index cd3a8bdbd..9ef1468d6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/Makefile b/Makefile index 011e32be4..15768ad40 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index ecb145c1e..fd96b92d1 100644 --- a/README.md +++ b/README.md @@ -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