File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 20
20
coverage : none
21
21
- run : make
22
22
- run : make served
23
+ - run : bash tests/await.bash http://clue.localhost/
23
24
- run : make test
24
25
-
run :
git config --global user.name "GitHub Actions" && git config --global user.email "[email protected] "
25
26
- run : git config --global url."https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # @copyright Copyright (c) 2024 Christian Lück, taken from https://github.com/clue/framework-x/pull/3 with permission
4
+
5
+ base=${1:- http:// clue.localhost/ }
6
+ base=${base%/ }
7
+
8
+ for i in {1..600}
9
+ do
10
+ out=$( curl -v -X PROBE $base / 2>&1 ) && exit 0 || echo -n .
11
+ sleep 0.1
12
+ done
13
+
14
+ echo
15
+ echo " $out "
16
+ exit 1
You can’t perform that action at this time.
0 commit comments