cypress-dev 296 B

12345678910111213
  1. #!/bin/bash -e
  2. DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  3. . "$DIR/.common.sh"
  4. # Ensure docker exists
  5. if hash docker 2>/dev/null; then
  6. cd "${DIR}/.."
  7. rm -rf "$DIR/../test/results"
  8. docker compose up --build cypress
  9. else
  10. echo -e "${RED}❯ docker command is not available${RESET}"
  11. fi