Skip to content

Commit 260e441

Browse files
committed
test: add integration test for GG18 protocol with short mode skip condition
1 parent 915a3de commit 260e441

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,13 @@ jobs:
116116
env:
117117
GOARCH: 386
118118

119-
- name: Run test in 386
120-
run: go test -covermode=atomic `go list ./... | grep -vE "vendor|mocks|snowman"`
121-
env:
122-
GOARCH: 386
119+
test-gg18-integration:
120+
name: Run test cases for gg18
121+
runs-on: ubuntu-22.04
122+
steps:
123+
- uses: actions/checkout@v3
124+
- uses: actions/setup-go@v3
125+
with:
126+
go-version-file: 'go.mod'
127+
- name: Run test cases for gg18
128+
run: go test -race -v -run ^TestGG18_4Node$ ./system/crypto/tss/gg18

system/crypto/tss/gg18/gg18_integration_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ const (
3232

3333
func TestGG18_4Node(t *testing.T) {
3434

35+
if testing.Short() {
36+
t.Skip("skip gg18 integration test in short mode")
37+
}
3538
channel := testChannel
3639
ports := make([]int, 4)
3740
for i := range ports {

0 commit comments

Comments
 (0)