Pass PATH to sudo

This commit is contained in:
Fedor Korotkiy 2022-03-26 16:56:05 +03:00
parent de61b1f868
commit cd9b8d2905

View file

@ -11,8 +11,8 @@ check:
- golangci-lint run --build-tags private,solution ./...
#- go test -v -tags private,solution ./...
#- go test -v -race -tags private,solution ./...
- sudo -u nobody go test $(go list -tags private,solution ./... | grep -v /dockertest | grep -v /foolsday3) -tags private,solution -v ./...
- sudo -u nobody go test $(go list -tags private,solution ./... | grep -v /dockertest) -tags private,solution -v -race ./...
- sudo -u nobody PATH=$PATH go test $(go list -tags private,solution ./... | grep -v /dockertest | grep -v /foolsday3) -tags private,solution -v ./...
- sudo -u nobody PATH=$PATH go test $(go list -tags private,solution ./... | grep -v /dockertest) -tags private,solution -v -race ./...
rebuild-base-image:
tags: