Skip to content

Commit

Permalink
Only run godog tests with Go 1.13+
Browse files Browse the repository at this point in the history
The version of godog, and its dependencies,
no longer works with older versions of Go.
  • Loading branch information
axw committed Nov 25, 2021
1 parent 42702ce commit 3f260a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions internal/apmgodog/suitecontext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
// specific language governing permissions and limitations
// under the License.

//go:build go1.9
// +build go1.9
//go:build go1.13
// +build go1.13

package apmgodog_test

Expand Down
4 changes: 2 additions & 2 deletions internal/apmgodog/testmain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
// specific language governing permissions and limitations
// under the License.

//go:build go1.9
// +build go1.9
//go:build go1.13
// +build go1.13

package apmgodog_test

Expand Down
1 change: 0 additions & 1 deletion scripts/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ function pin() {
pin go.uber.org/multierr v1.6.0 https://github.com/uber-go/multierr
pin github.com/astaxie/beego v1.11.1
pin github.com/stretchr/testify v1.4.0
pin github.com/cucumber/godog v0.12.2
pin github.com/elastic/go-sysinfo v1.3.0
pin google.golang.org/grpc v1.30.0 https://github.com/grpc/grpc-go
pin github.com/jinzhu/gorm v1.9.16
Expand Down

0 comments on commit 3f260a2

Please sign in to comment.