tasks:
- all: |
cd safcm
- ./ci/run TESTFLAGS=-v
+ ./ci/run
# Also run all tests as root
sudo chown -Rh root:root .
- sudo ./ci/run TESTFLAGS=-v
+ sudo ./ci/run
- all: |
sudo ln -sf /usr/local/bin/gmake /usr/bin/make
cd safcm
- ./ci/run TESTFLAGS=-v
+ ./ci/run
# Also run all tests as root
sudo chown -Rh root:wheel .
- sudo ./ci/run TESTFLAGS=-v
+ sudo ./ci/run
doas ln -sf /usr/local/bin/gmake /usr/bin/make
cd safcm
# Go does not yet support -race on OpenBSD
- ./ci/run GOFLAGS= TESTFLAGS=-v
+ ./ci/run GOFLAGS=
# Also run all tests as root (-R and -h conflict on OpenBSD)
doas chown -R root:wheel .
# Remove $HOME hack once Go 1.16 is available
- doas /bin/sh -c "HOME=$HOME ./ci/run GOFLAGS= TESTFLAGS=-v"
+ doas /bin/sh -c "HOME=$HOME ./ci/run GOFLAGS="
- ln -sf /usr/lib/go-1.16/bin/go $HOME/go/bin
- ln -sf /usr/lib/go-1.16/bin/gofmt $HOME/go/bin
#
- - ./ci/run TESTFLAGS=-v
+ - ./ci/run
debian-sid:
<<: *template-docker
test:
go vet ./...
- go test $(GOFLAGS) $(TESTFLAGS) ./...
+ go test $(GOFLAGS) ./...
clean:
rm -rf remote/helpers/