Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions bin/ci-run-failed-specs
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,12 @@ echo ""

# Determine the working directory (check if we need to be in spec/dummy)
WORKING_DIR="."
if [ ${#UNIQUE_SPECS[@]} -gt 0 ] && ([[ "${UNIQUE_SPECS[0]}" == *"spec/system"* ]] || [[ "${UNIQUE_SPECS[0]}" == *"spec/helpers"* ]]); then
if [ -d "spec/dummy" ]; then
WORKING_DIR="spec/dummy"
echo -e "${BLUE}Running from spec/dummy directory${NC}"
if [ ${#UNIQUE_SPECS[@]} -gt 0 ]; then
if [[ "${UNIQUE_SPECS[0]}" == *"spec/system"* ]] || [[ "${UNIQUE_SPECS[0]}" == *"spec/helpers"* ]]; then
if [ -d "spec/dummy" ]; then
WORKING_DIR="spec/dummy"
echo -e "${BLUE}Running from spec/dummy directory${NC}"
fi
fi
fi

Expand Down
7 changes: 4 additions & 3 deletions bin/ci-switch-config
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,10 @@ EOF
set_node_version "20.18.1" "$VERSION_MANAGER"

# Run conversion script
# NOTE: This uses whatever 'ruby' is in PATH after version manager updates above.
# The version manager may not have reloaded yet, so ensure your current Ruby is
# compatible with script/convert (Ruby 2.6+ should work).
# NOTE: This executes 'ruby' before the version manager reloads in your current shell.
# The script/convert file requires Ruby 2.6+ and uses basic file I/O operations.
# Most modern Ruby versions (2.6+) are compatible. The version manager changes above
# only take effect after shell reload, so this uses your current Ruby installation.
print_header "Running script/convert to downgrade dependencies"
cd "$PROJECT_ROOT"
ruby script/convert
Expand Down