diff --git a/build/ci.go b/build/ci.go index 9a2532f51f31..832f07767fd5 100644 --- a/build/ci.go +++ b/build/ci.go @@ -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")) @@ -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")