We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed8195 commit 40fc1c9Copy full SHA for 40fc1c9
entrypoint.sh
@@ -3,17 +3,34 @@
3
# run test-site
4
if [[ $2 == *"test"* ]]
5
then
6
- cursion test-site $3 --api-key=$1
+ {
7
+ cursion test-site $3 --api-key=$1
8
+ } || {
9
+ echo "Test Failed" &&
10
+ exit 1
11
+ }
12
fi
13
14
# run run-case
15
if [[ $2 == *"case"* ]]
16
- cursion run-case $3 $4 --api-key=$1 $6
17
18
+ cursion run-case $3 $4 --api-key=$1 $6
19
20
+ echo "Case Failed" &&
21
22
23
+
24
25
26
# run run-flow
27
if [[ $2 == *"flow"* ]]
28
- cursion run-flow $3 $5 --api-key=$1
29
30
+ cursion run-flow $3 $5 --api-key=$1
31
32
+ echo "Flow Failed" &&
33
34
35
36
0 commit comments