add accessTest script to workflow

This commit is contained in:
Christoph Kluge
2021-08-06 14:01:45 +02:00
parent 908c281a47
commit 23276293df
2 changed files with 42 additions and 3 deletions

View File

@@ -41,12 +41,14 @@ jobs:
- name: Get log from cc-db
run: docker logs cc-db
- name: Attempt to curl localhost:80/login
run: |
chmod +x ./.github/accessTest.sh
./.github/accessTest.sh
- name: Get log from cc-php
run: docker logs cc-php
- name: Try to get response from localhost:90/login
run: curl -X GET localhost:80/login
- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.yml" down