2024-10-16 11:06:29 +10:00
|
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
|
|
. "$DIR/.common.sh"
|
|
|
|
|
|
|
2025-10-14 19:01:00 +10:00
|
|
|
|
# Ensure docker exists
|
|
|
|
|
|
if hash docker 2>/dev/null; then
|
2024-10-16 11:06:29 +10:00
|
|
|
|
cd "${DIR}/.."
|
|
|
|
|
|
rm -rf "$DIR/../test/results"
|
2025-10-14 19:01:00 +10:00
|
|
|
|
docker compose up --build cypress
|
2024-10-16 11:06:29 +10:00
|
|
|
|
else
|
2025-10-14 19:01:00 +10:00
|
|
|
|
echo -e "${RED}❯ docker command is not available${RESET}"
|
2024-10-16 11:06:29 +10:00
|
|
|
|
fi
|