@@ -435,6 +435,12 @@ tasks:
435
435
- " ! git diff --exit-code"
436
436
- " bazel run //:requirements.update"
437
437
- " 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"
438
444
integration_test_compile_pip_requirements_debian :
439
445
<< : *reusable_build_test_all
440
446
name : compile_pip_requirements integration tests on Debian
@@ -447,6 +453,12 @@ tasks:
447
453
- " ! git diff --exit-code"
448
454
- " bazel run //:requirements.update"
449
455
- " 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"
450
462
integration_test_compile_pip_requirements_macos :
451
463
<< : *reusable_build_test_all
452
464
name : compile_pip_requirements integration tests on macOS
@@ -459,6 +471,12 @@ tasks:
459
471
- " ! git diff --exit-code"
460
472
- " bazel run //:requirements.update"
461
473
- " 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"
462
480
integration_test_compile_pip_requirements_windows :
463
481
<< : *reusable_build_test_all
464
482
name : compile_pip_requirements integration tests on Windows
@@ -471,48 +489,6 @@ tasks:
471
489
- " ! git diff --exit-code"
472
490
- " bazel run //:requirements.update"
473
491
- " 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 :
516
492
# Make a change to the locked requirements and then assert that //:os_specific_requirements.update does the
517
493
# right thing.
518
494
- " echo '' > requirements_lock_windows.txt"
0 commit comments