godog fails in gitlab pipeline godog@v0.12.5/internal/builder/builder.go:243:15: undefined: os.ReadFile #508
ScottiePower
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to add godog tests to my gitlab pipeline but consistently get an error in the builder.go with os.ReadFile.
Below is an extract for the gitlab runner. I can not find any other reference to this issue.
Can any one please help.
$ go version
go version go1.15.15 linux/amd64
$ GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.12.0
go: downloading github.com/cucumber/godog v0.12.0
go: found github.com/cucumber/godog/cmd/godog in github.com/cucumber/godog v0.12.0
go: downloading github.com/spf13/cobra v1.1.1
go: downloading github.com/cucumber/gherkin-go/v19 v19.0.3
go: downloading github.com/cucumber/messages-go/v16 v16.0.1
go: downloading github.com/hashicorp/go-memdb v1.3.0
go: downloading github.com/gofrs/uuid v4.0.0+incompatible
go: downloading github.com/hashicorp/go-immutable-radix v1.3.0
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading github.com/hashicorp/golang-lru v0.5.4
$ godog version
Godog version is: v0.12.0
$ pwd
/builds//**
$ cd *****
$ go test -v
go: downloading github.com/cucumber/godog v0.12.5
go: downloading github.com/hashicorp/go-immutable-radix v1.3.1
github.com/cucumber/godog/internal/builder
/root/go/pkg/mod/github.com/cucumber/godog@v0.12.5/internal/builder/builder.go:243:15: undefined: os.ReadFile
Beta Was this translation helpful? Give feedback.
All reactions