Skip to content

Commit 26bbfb2

Browse files
committed
Tweak test
1 parent 80c61a1 commit 26bbfb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ jobs:
8080
# we can just copy the testing template to ensure the db env variables are set.
8181
cp .env.testing.template .env.testing
8282
# FIXME: change to `-c release` after testing!!!
83-
swift run -c debug Run serve --port 8080 &
83+
swift run -c debug Run serve --port 8080 --host 0.0.0.0 &
8484
sleep 2
85-
bash -c '[ "$(curl -sL -w "%{http_code}" -o /dev/null http://localhost:8080/api/version)" == "200" ] || echo Connection failed'
85+
bash -c '[ "$(curl -sL -w "%{http_code}" -o /dev/null http://localhost:8080/api/version)" == "200" ] || (echo Connection failed ; exit 1)'
8686
8787
# test-macos:
8888
# name: Test macOS

0 commit comments

Comments
 (0)