From b4a590967141958894fc4ef42f503212a3195183 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 3 Dec 2024 12:54:19 +0200 Subject: [PATCH 1/4] Create test.yml --- .github/workflows/test.yml | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..8ac0839c8e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,39 @@ +# runs tests in a plain environment, many times +# I cannot stress strongly enough, please merge this. Just run the tests 20 times. Every commit. +on: + push: + branches: + - main + pull_request: +name: Test +jobs: + test-nocache: + continue-on-error: true + strategy: + matrix: + go-version: [1.23.x] + os: [ubuntu-latest, macos-latest] + repeat: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + cache: false + - run: go test ./... + + test-cache: + continue-on-error: true + strategy: + matrix: + go-version: [1.23.x] + os: [ubuntu-latest, macos-latest] + repeat: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + - run: go test ./... From f9ec7de12b98dbe19ab54aa03e5fb489a4a7dfa9 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 3 Dec 2024 13:18:47 +0200 Subject: [PATCH 2/4] test fix --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 1ee0e31e66..a2f1bbc6a3 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/CosmWasm/wasmd go 1.23.1 require ( - github.com/CosmWasm/wasmvm/v2 v2.2.0-rc.2 + github.com/CosmWasm/wasmvm/v2 v2.1.4-0.20241114092521-0681b14a815f github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/cosmos-sdk v0.50.10 github.com/cosmos/gogogateway v1.2.0 // indirect diff --git a/go.sum b/go.sum index 832141acf8..c3dcdf329b 100644 --- a/go.sum +++ b/go.sum @@ -223,6 +223,8 @@ github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25 github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/CosmWasm/wasmvm/v2 v2.1.4-0.20241114092521-0681b14a815f h1:Qd/xp2ixwgxgzsEMrDol6l5A/N82pkNlYLbvdnUISNU= +github.com/CosmWasm/wasmvm/v2 v2.1.4-0.20241114092521-0681b14a815f/go.mod h1:bMhLQL4Yp9CzJi9A83aR7VO9wockOsSlZbT4ztOl6bg= github.com/CosmWasm/wasmvm/v2 v2.2.0-rc.2 h1:Y9sQqabWsj9ePbZFKRUEIWSY2QYyHeEIrF/qz0ZNGl4= github.com/CosmWasm/wasmvm/v2 v2.2.0-rc.2/go.mod h1:bMhLQL4Yp9CzJi9A83aR7VO9wockOsSlZbT4ztOl6bg= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= From 068ea49f717b186ec69a7a40d7d5cc2778bef8ff Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 3 Dec 2024 13:23:46 +0200 Subject: [PATCH 3/4] tidy --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index c3dcdf329b..70187d1a8b 100644 --- a/go.sum +++ b/go.sum @@ -225,8 +225,6 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CosmWasm/wasmvm/v2 v2.1.4-0.20241114092521-0681b14a815f h1:Qd/xp2ixwgxgzsEMrDol6l5A/N82pkNlYLbvdnUISNU= github.com/CosmWasm/wasmvm/v2 v2.1.4-0.20241114092521-0681b14a815f/go.mod h1:bMhLQL4Yp9CzJi9A83aR7VO9wockOsSlZbT4ztOl6bg= -github.com/CosmWasm/wasmvm/v2 v2.2.0-rc.2 h1:Y9sQqabWsj9ePbZFKRUEIWSY2QYyHeEIrF/qz0ZNGl4= -github.com/CosmWasm/wasmvm/v2 v2.2.0-rc.2/go.mod h1:bMhLQL4Yp9CzJi9A83aR7VO9wockOsSlZbT4ztOl6bg= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= From e1c8ff073d617234fe4f847e79860945d06732b7 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 3 Dec 2024 13:29:39 +0200 Subject: [PATCH 4/4] tidy --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index a2f1bbc6a3..444d142fda 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/CosmWasm/wasmd go 1.23.1 require ( - github.com/CosmWasm/wasmvm/v2 v2.1.4-0.20241114092521-0681b14a815f + github.com/CosmWasm/wasmvm/v2 v2.2.0-rc.2.0.20241113153201-443d5341939d github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/cosmos-sdk v0.50.10 github.com/cosmos/gogogateway v1.2.0 // indirect diff --git a/go.sum b/go.sum index 70187d1a8b..effb53765d 100644 --- a/go.sum +++ b/go.sum @@ -223,8 +223,8 @@ github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25 github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/CosmWasm/wasmvm/v2 v2.1.4-0.20241114092521-0681b14a815f h1:Qd/xp2ixwgxgzsEMrDol6l5A/N82pkNlYLbvdnUISNU= -github.com/CosmWasm/wasmvm/v2 v2.1.4-0.20241114092521-0681b14a815f/go.mod h1:bMhLQL4Yp9CzJi9A83aR7VO9wockOsSlZbT4ztOl6bg= +github.com/CosmWasm/wasmvm/v2 v2.2.0-rc.2.0.20241113153201-443d5341939d h1:7q7SSgn45ERWPY29PhPBUuG8V8VsvTauonG2JNRTdr0= +github.com/CosmWasm/wasmvm/v2 v2.2.0-rc.2.0.20241113153201-443d5341939d/go.mod h1:bMhLQL4Yp9CzJi9A83aR7VO9wockOsSlZbT4ztOl6bg= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ=