Skip to content

Commit

Permalink
Add no-cgo testing
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Dec 15, 2022
1 parent d55a2eb commit 641a6eb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions ibc_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build cgo

package cosmwasm

import (
Expand Down
2 changes: 2 additions & 0 deletions lib_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build cgo

package cosmwasm

import (
Expand Down

0 comments on commit 641a6eb

Please sign in to comment.