Skip to content

Commit 68722ac

Browse files
committed
Merge integration tests so that we under the limit of 80 tasks.
Oterwise, CI fails with "The number of tasks in one config file is limited to 80!"
1 parent 1a5e0c7 commit 68722ac

File tree

1 file changed

+18
-42
lines changed

1 file changed

+18
-42
lines changed

.bazelci/presubmit.yml

Lines changed: 18 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,12 @@ tasks:
435435
- "! git diff --exit-code"
436436
- "bazel run //:requirements.update"
437437
- "git diff --exit-code"
438+
# Make a change to the locked requirements and then assert that //:os_specific_requirements.update does the
439+
# right thing.
440+
- "echo '' > requirements_lock_linux.txt"
441+
- "! git diff --exit-code"
442+
- "bazel run //:os_specific_requirements.update"
443+
- "git diff --exit-code"
438444
integration_test_compile_pip_requirements_debian:
439445
<<: *reusable_build_test_all
440446
name: compile_pip_requirements integration tests on Debian
@@ -447,6 +453,12 @@ tasks:
447453
- "! git diff --exit-code"
448454
- "bazel run //:requirements.update"
449455
- "git diff --exit-code"
456+
# Make a change to the locked requirements and then assert that //:os_specific_requirements.update does the
457+
# right thing.
458+
- "echo '' > requirements_lock_linux.txt"
459+
- "! git diff --exit-code"
460+
- "bazel run //:os_specific_requirements.update"
461+
- "git diff --exit-code"
450462
integration_test_compile_pip_requirements_macos:
451463
<<: *reusable_build_test_all
452464
name: compile_pip_requirements integration tests on macOS
@@ -459,6 +471,12 @@ tasks:
459471
- "! git diff --exit-code"
460472
- "bazel run //:requirements.update"
461473
- "git diff --exit-code"
474+
# Make a change to the locked requirements and then assert that //:os_specific_requirements.update does the
475+
# right thing.
476+
- "echo '' > requirements_lock_darwin.txt"
477+
- "! git diff --exit-code"
478+
- "bazel run //:os_specific_requirements.update"
479+
- "git diff --exit-code"
462480
integration_test_compile_pip_requirements_windows:
463481
<<: *reusable_build_test_all
464482
name: compile_pip_requirements integration tests on Windows
@@ -471,48 +489,6 @@ tasks:
471489
- "! git diff --exit-code"
472490
- "bazel run //:requirements.update"
473491
- "git diff --exit-code"
474-
integration_test_compile_pip_os_specific_requirements_ubuntu:
475-
<<: *reusable_build_test_all
476-
name: compile_pip_os_specific_requirements integration tests on Ubuntu
477-
working_directory: tests/compile_pip_requirements
478-
platform: ubuntu2004
479-
shell_commands:
480-
# Make a change to the locked requirements and then assert that //:os_specific_requirements.update does the
481-
# right thing.
482-
- "echo '' > requirements_lock_linux.txt"
483-
- "! git diff --exit-code"
484-
- "bazel run //:os_specific_requirements.update"
485-
- "git diff --exit-code"
486-
integration_test_compile_pip_os_specific_requirements_debian:
487-
<<: *reusable_build_test_all
488-
name: compile_pip_os_specific_requirements integration tests on Debian
489-
working_directory: tests/compile_pip_requirements
490-
platform: debian11
491-
shell_commands:
492-
# Make a change to the locked requirements and then assert that //:os_specific_requirements.update does the
493-
# right thing.
494-
- "echo '' > requirements_lock_linux.txt"
495-
- "! git diff --exit-code"
496-
- "bazel run //:os_specific_requirements.update"
497-
- "git diff --exit-code"
498-
integration_test_compile_pip_os_specific_requirements_macos:
499-
<<: *reusable_build_test_all
500-
name: compile_pip_os_specific_requirements integration tests on macOS
501-
working_directory: tests/compile_pip_requirements
502-
platform: macos
503-
shell_commands:
504-
# Make a change to the locked requirements and then assert that //:os_specific_requirements.update does the
505-
# right thing.
506-
- "echo '' > requirements_lock_darwin.txt"
507-
- "! git diff --exit-code"
508-
- "bazel run //:os_specific_requirements.update"
509-
- "git diff --exit-code"
510-
integration_test_compile_pip_os_specific_requirements_windows:
511-
<<: *reusable_build_test_all
512-
name: compile_pip_os_specific_requirements integration tests on Windows
513-
working_directory: tests/compile_pip_requirements
514-
platform: windows
515-
shell_commands:
516492
# Make a change to the locked requirements and then assert that //:os_specific_requirements.update does the
517493
# right thing.
518494
- "echo '' > requirements_lock_windows.txt"

0 commit comments

Comments
 (0)