Skip to content

Commit

Permalink
tests: let nightly compose testing trigger two scenarios
Browse files Browse the repository at this point in the history
Test scenarios against the specified compose will be expensive and other,
so that we get faster test runs.
  • Loading branch information
KKoukiou committed Jan 17, 2025
1 parent 44157a6 commit f41fcce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,5 @@ $(NODE_MODULES_TEST): package.json

.PHONY: test-compose
test-compose: bots
bots/tests-trigger --force "-" "${TEST_OS}/compose-${TEST_COMPOSE}"
bots/tests-trigger --force "-" "${TEST_OS}/compose-${TEST_COMPOSE}"/expensive
bots/tests-trigger --force "-" "${TEST_OS}/compose-${TEST_COMPOSE}"/other
2 changes: 1 addition & 1 deletion test/run
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RE_EXPENSIVE='E2E'
case "${TEST_SCENARIO:=}" in
*compose-*)
RUN_OPTS="$ALL_TESTS"; export TEST_COMPOSE="${TEST_SCENARIO#compose-}"
;;
;;&
*efi*) RUN_OPTS="$ALL_TESTS"; export TEST_FIRMWARE="efi" ;;&
*expensive*)
RUN_OPTS="$(echo "$ALL_TESTS" | grep -E "$RE_EXPENSIVE")"
Expand Down

0 comments on commit f41fcce

Please sign in to comment.