Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ var (

// This is where the tests should be unpacked.
executionSpecTestsDir = "tests/spec-tests"

// Tests to skip in CI.
// TODO: improve below tests so they aren't so flaky.
skipTests = []string{
"TestSkeletonSyncRetrievals",
"TestUpdatedKeyfileContents",
"TestForkResendTx",
}
)

var GOBIN, _ = filepath.Abs(filepath.Join("build", "bin"))
Expand Down Expand Up @@ -299,6 +307,9 @@ func doTest(cmdline []string) {
// Enable CKZG backend in CI.
gotest.Args = append(gotest.Args, "-tags=ckzg")

// Skips designated tests.
gotest.Args = append(gotest.Args, fmt.Sprintf("-skip=(%s)", strings.Join(skipTests, "|")))

// Enable integration-tests
gotest.Args = append(gotest.Args, "-tags=integrationtests")

Expand Down