Skip to content

Commit a01cdad

Browse files
doxthreeGermanCoding
authored andcommitted
Add health check for Nextcloud status in test workflow
1 parent 8eb2151 commit a01cdad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ jobs:
8888
CLIENT_SECRET: ${{ secrets.VAAS_CLIENT_SECRET }}
8989
NEXTCLOUD_HOSTNAME: nextcloud-container
9090
run: |
91+
curl --fail --show-error --silent --connect-timeout 5 --max-time 10 "http://${NEXTCLOUD_HOSTNAME}/status.php" > /dev/null
92+
curl --fail --show-error --silent --connect-timeout 5 --max-time 10 "http://nextcloud-container/status.php" > /dev/null
9193
bats --verbose-run --timing --trace ./tests/bats
9294
./vendor/bin/phpunit --bootstrap tests/integration/bootstrap.php tests/integration/
9395

0 commit comments

Comments
 (0)