Add test_suites for better CI runs (#11037)

This commit is contained in:
Preston Van Loon 2022-07-12 16:42:44 -05:00 committed by GitHub
parent f7d3b5c510
commit d6031ac386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,45 @@ load("@prysm//tools/go:def.bzl", "go_test")
# gazelle:exclude mainnet_scenario_e2e_test.go
# gazelle:exclude minimal_scenario_e2e_test.go
# Presubmit tests represent the group of endtoend tests that are run on pull
# requests and must be passing before a pull request can merge.
test_suite(
name = "presubmit",
tags = [
"e2e",
"manual",
],
tests = [
":go_default_test",
],
)
# Postsubmit tests represent the group of endtoend tests that are run after a
# pull request has merged.
test_suite(
name = "postsubmit",
tags = [
"e2e",
"manual",
],
tests = [
":go_mainnet_test",
],
)
# Scenario tests are run infrequently in CI to test specific scenarios.
test_suite(
name = "scenario_tests",
tags = [
"e2e",
"manual",
],
tests = [
":go_mainnet_scenario_test",
":go_minimal_scenario_test",
],
)
common_deps = [
"//api/client/beacon:go_default_library",
"//beacon-chain/blockchain/testing:go_default_library",