mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-29 00:42:19 +00:00
dbf231865d
* Adding a few more apub tests. * Fixing travis build, adding a get_post function.
13 lines
660 B
Bash
Executable file
Vendored
13 lines
660 B
Bash
Executable file
Vendored
#!/bin/bash
|
|
set -xe
|
|
|
|
pushd ../../ui
|
|
echo "Waiting for Lemmy to start..."
|
|
while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8540/api/v1/site')" != "200" ]]; do sleep 1; done
|
|
while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8550/api/v1/site')" != "200" ]]; do sleep 1; done
|
|
while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8560/api/v1/site')" != "200" ]]; do sleep 1; done
|
|
while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8570/api/v1/site')" != "200" ]]; do sleep 1; done
|
|
while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8580/api/v1/site')" != "200" ]]; do sleep 1; done
|
|
yarn api-test || true
|
|
popd
|