kairos-agent/.github/cypress_tests.sh
Itxaka dc0a00aa5b
Fail on webui failures (#76)
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-04 16:31:42 +02:00

12 lines
208 B
Bash
Executable File

#!/bin/bash
set -e
# Run agent in the background to bring the webui up
/usr/bin/kairos-agent webui &
pushd internal/webui/public || exit 1
# deps
npm ci
# cypress tests
npx cypress run --e2e -q
popd || exit