Skip to content

Commit 276f028

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

File tree

2 files changed

+52
-6
lines changed

2 files changed

+52
-6
lines changed

.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: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,15 @@ 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:
5557
docker:
5658
privileged: true
59+
environment:
60+
- HAB_LICENSE
5761
timeout_in_minutes: 10
5862

5963
- label: "[lint] :windows: :paperclip: clippy!"
@@ -586,22 +590,67 @@ steps:
586590
automatic:
587591
limit: 10 # Addressing current Anka system timeouts due to oversubscription
588592

589-
- label: "[unit] :darwin: multiple components"
593+
- label: "[unit] :darwin: common"
590594
env:
591595
HAB_LICENSE: "accept-no-persist"
592596
HOMEBREW_NO_AUTO_UPDATE: 1
593597
command:
594598
- .expeditor/scripts/verify/run_cargo_test.sh common
599+
expeditor:
600+
executor:
601+
macos:
602+
os-version: "12"
603+
inherit-environment-vars: true
604+
timeout_in_minutes: 20
605+
retry:
606+
automatic:
607+
limit: 1
608+
609+
- label: "[unit] :darwin: core"
610+
env:
611+
HAB_LICENSE: "accept-no-persist"
612+
HOMEBREW_NO_AUTO_UPDATE: 1
613+
command:
595614
- .expeditor/scripts/verify/run_cargo_test.sh core
615+
expeditor:
616+
executor:
617+
macos:
618+
os-version: "12"
619+
inherit-environment-vars: true
620+
timeout_in_minutes: 20
621+
soft_fail: true
622+
retry:
623+
automatic:
624+
limit: 1
625+
626+
- label: "[unit] :darwin: hab"
627+
env:
628+
HAB_LICENSE: "accept-no-persist"
629+
HOMEBREW_NO_AUTO_UPDATE: 1
630+
command:
596631
- .expeditor/scripts/verify/run_cargo_test.sh hab
632+
expeditor:
633+
executor:
634+
macos:
635+
os-version: "12"
636+
inherit-environment-vars: true
637+
timeout_in_minutes: 20
638+
retry:
639+
automatic:
640+
limit: 1
641+
642+
- label: "[unit] :darwin: http-client"
643+
env:
644+
HAB_LICENSE: "accept-no-persist"
645+
HOMEBREW_NO_AUTO_UPDATE: 1
646+
command:
597647
- .expeditor/scripts/verify/run_cargo_test.sh http-client
598648
expeditor:
599649
executor:
600650
macos:
601651
os-version: "12"
602652
inherit-environment-vars: true
603-
timeout_in_minutes: 30
604-
soft_fail: true
653+
timeout_in_minutes: 20
605654
retry:
606655
automatic:
607656
limit: 1

0 commit comments

Comments
 (0)