-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: make
unit tests
build mandatory in GitHub Actions
And delete related TC scripts. Note that the unit tests job in GitHub Actions subsumes the unit test jobs in TC as well as the UI lint and UI test job. Epic: CRDB-8308 Release note: None
- Loading branch information
1 parent
6aa8810
commit c331a4d
Showing
13 changed files
with
30 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euxo pipefail | ||
|
||
EXTRA_PARAMS="" | ||
|
||
if [ "$GITHUB_ACTIONS_BRANCH" == "staging" ]; then | ||
# enable up to 1 retry (2 attempts, worst-case) per test executable to report flakes but only on release branches and staging. | ||
EXTRA_PARAMS=" --flaky_test_attempts=2" | ||
fi | ||
|
||
|
||
bazel test //pkg:all_tests //pkg/ui:lint //pkg/ui:test \ | ||
--config crosslinux --jobs 300 --remote_download_minimal \ | ||
--bes_keywords ci-unit-test --config=use_ci_timeouts \ | ||
--build_event_binary_file=bes.bin $(./build/github/engflow-args.sh) \ | ||
$EXTRA_PARAMS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
build/teamcity/cockroach/ci/tests-gcp-linux-x86_64-bigvm/unit_tests.sh
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.