Skip to content

Commit 179b1f3

Browse files
committed
Add log, change port
1 parent fc3fe04 commit 179b1f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ jobs:
8383
# swift run -c release Run serve --port 8080 --host 0.0.0.0 &
8484
swift build -c debug --static-swift-stdlib -Xlinker -ljemalloc
8585
sleep 10
86-
$(swift build --show-bin-path -c debug)/Run serve --port 8080 --hostname 0.0.0.0 &
87-
bash -c '[ "$(curl -sL -w "%{http_code}" -o /dev/null http://localhost:8080/api/version)" == "200" ] || (echo Connection failed ; exit 1)'
86+
$(swift build --show-bin-path -c debug)/Run serve --port 18080 --hostname 0.0.0.0 &
87+
echo Probing api/version...
88+
bash -c '[ "$(curl -sL -w "%{http_code}" -o /dev/null http://localhost:18080/api/version)" == "200" ] || (echo Connection failed ; exit 1)'
8889
8990
# test-macos:
9091
# name: Test macOS

0 commit comments

Comments
 (0)