Skip to content

Commit 2c57942

Browse files
Split unit tests
Signed-off-by: sougata-progress <sougatab@progress.com>
1 parent 8d285c0 commit 2c57942

2 files changed

Lines changed: 50 additions & 6 deletions

File tree

.expeditor/scripts/verify/run_cargo_test.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
1010

1111
# Clean up Darwin-specific temp directory on exit
1212
trap 'rm -rf "$HAB_ROOT_PATH"' EXIT
13-
14-
# Accept habitat license via environment variable to avoid sudo issues
15-
export HAB_LICENSE="accept-no-persist"
1613
fi
1714

1815
# shellcheck source=.expeditor/scripts/shared.sh

.expeditor/verify.pipeline.yml

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ steps:
4949
limit: 1
5050

5151
- label: "[lint] :linux: :paperclip: clippy!"
52+
env:
53+
HAB_LICENSE: "accept-no-persist"
5254
command: make lint
5355
expeditor:
5456
executor:
@@ -586,22 +588,67 @@ steps:
586588
automatic:
587589
limit: 10 # Addressing current Anka system timeouts due to oversubscription
588590

589-
- label: "[unit] :darwin: multiple components"
591+
- label: "[unit] :darwin: common"
590592
env:
591593
HAB_LICENSE: "accept-no-persist"
592594
HOMEBREW_NO_AUTO_UPDATE: 1
593595
command:
594596
- .expeditor/scripts/verify/run_cargo_test.sh common
597+
expeditor:
598+
executor:
599+
macos:
600+
os-version: "12"
601+
inherit-environment-vars: true
602+
timeout_in_minutes: 20
603+
retry:
604+
automatic:
605+
limit: 1
606+
607+
- label: "[unit] :darwin: core"
608+
env:
609+
HAB_LICENSE: "accept-no-persist"
610+
HOMEBREW_NO_AUTO_UPDATE: 1
611+
command:
595612
- .expeditor/scripts/verify/run_cargo_test.sh core
613+
expeditor:
614+
executor:
615+
macos:
616+
os-version: "12"
617+
inherit-environment-vars: true
618+
timeout_in_minutes: 20
619+
soft_fail: true
620+
retry:
621+
automatic:
622+
limit: 1
623+
624+
- label: "[unit] :darwin: hab"
625+
env:
626+
HAB_LICENSE: "accept-no-persist"
627+
HOMEBREW_NO_AUTO_UPDATE: 1
628+
command:
596629
- .expeditor/scripts/verify/run_cargo_test.sh hab
630+
expeditor:
631+
executor:
632+
macos:
633+
os-version: "12"
634+
inherit-environment-vars: true
635+
timeout_in_minutes: 20
636+
retry:
637+
automatic:
638+
limit: 1
639+
640+
- label: "[unit] :darwin: http-client"
641+
env:
642+
HAB_LICENSE: "accept-no-persist"
643+
HOMEBREW_NO_AUTO_UPDATE: 1
644+
command:
597645
- .expeditor/scripts/verify/run_cargo_test.sh http-client
598646
expeditor:
599647
executor:
600648
macos:
601649
os-version: "12"
602650
inherit-environment-vars: true
603-
timeout_in_minutes: 30
604-
soft_fail: true
651+
timeout_in_minutes: 20
605652
retry:
606653
automatic:
607654
limit: 1

0 commit comments

Comments
 (0)