From 641a6eb95e186889ec28157966a9b9dd34cf91c5 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 15 Dec 2022 13:09:53 +0100 Subject: [PATCH] Add no-cgo testing --- .circleci/config.yml | 6 ++++++ ibc_test.go | 2 ++ lib_test.go | 2 ++ 3 files changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 70121b404..0062a9b32 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -125,6 +125,12 @@ jobs: - run: name: Build package "cosmwasm" without cgo command: CGO_ENABLED=0 go build . + - run: + name: Test package "types" without cgo + command: CGO_ENABLED=0 go test ./types + - run: + name: Test package "cosmwasm" without cgo + command: CGO_ENABLED=0 go test . tidy-go: docker: diff --git a/ibc_test.go b/ibc_test.go index d72b3f9d1..fd1df5710 100644 --- a/ibc_test.go +++ b/ibc_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package cosmwasm import ( diff --git a/lib_test.go b/lib_test.go index 112c203ac..a2302b3d1 100644 --- a/lib_test.go +++ b/lib_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package cosmwasm import (