Disable go test caching
This commit is contained in:
parent
7d1b471d88
commit
5ff0630726
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -49,7 +49,7 @@ clean:
|
||||||
@ rm -f $(APP)-*
|
@ rm -f $(APP)-*
|
||||||
|
|
||||||
test:
|
test:
|
||||||
go test -cover -race ./...
|
go test -cover -race -count=1 ./...
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
@ golint -set_exit_status ${PKG_LIST}
|
@ golint -set_exit_status ${PKG_LIST}
|
||||||
|
@ -62,7 +62,7 @@ integration-test:
|
||||||
go build -o miniflux-test main.go
|
go build -o miniflux-test main.go
|
||||||
DATABASE_URL=$(DB_URL) ./miniflux-test -debug >/tmp/miniflux.log 2>&1 & echo "$$!" > "/tmp/miniflux.pid"
|
DATABASE_URL=$(DB_URL) ./miniflux-test -debug >/tmp/miniflux.log 2>&1 & echo "$$!" > "/tmp/miniflux.pid"
|
||||||
while ! echo exit | nc localhost 8080; do sleep 1; done >/dev/null
|
while ! echo exit | nc localhost 8080; do sleep 1; done >/dev/null
|
||||||
go test -v -tags=integration miniflux.app/tests || cat /tmp/miniflux.log
|
go test -v -tags=integration -count=1 miniflux.app/tests || cat /tmp/miniflux.log
|
||||||
|
|
||||||
clean-integration-test:
|
clean-integration-test:
|
||||||
@ kill -9 `cat /tmp/miniflux.pid`
|
@ kill -9 `cat /tmp/miniflux.pid`
|
||||||
|
|
Loading…
Reference in a new issue