Skip to content

Commit

Permalink
Remove hardcoded default configs
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Oct 11, 2023
1 parent 3553290 commit f4e9c19
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/ci-runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ echo "* Version to upgrade from: $OLD_APP_VERSION"
echo "* Version to test: $NEW_APP_VERSION"
echo "**********************************"

DEFAULT_OSES=(debian11 debian12 ubuntu2004 ubuntu2204 ubuntu2304 fedora38 fedora37 fedora36 windows10 windows11)
if [[ -z "${TEST_OSES+x}" ]]; then
echo "'TEST_OSES' must be specified" 1>&2
exit 1
fi

# Try to parse $TEST_OSES from the environment
# https://www.shellcheck.net/wiki/SC2206
IFS=" " read -r -a TEST_OSES <<< "${TEST_OSES:-}"
TEST_OSES=( "${TEST_OSES[@]:-"${DEFAULT_OSES[@]}"}" )

if [[ -z "${ACCOUNT_TOKENS+x}" ]]; then
echo "'ACCOUNT_TOKENS' must be specified" 1>&2
Expand Down

0 comments on commit f4e9c19

Please sign in to comment.