Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zagganas committed Jun 14, 2022
1 parent 3580603 commit b6117bd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@ jobs:
uses: actions/checkout@v2
- name: Test build
run: docker-compose up -d
- name: Sleep
run: sleep 30s
shell: bash
- name: Test api
shell: bash
run: |
CODE=`curl --write-out '%{http_code}' --output /dev/null --silent localhost:8080/index.php?r=site/health`;
echo $CODE;
if [ $CODE!="200" ]
then
docker-compose down
exit 1;
fi
- name: End test
Expand Down

0 comments on commit b6117bd

Please sign in to comment.