Skip to content

Commit

Permalink
loop added
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinaProsche committed Mar 1, 2024
1 parent 0835838 commit 3d73311
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/selenium_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ jobs:
- name: Run docker-compose-tests
run: |
docker-compose -f docker-compose-tests.yml up -d
sleep 120
sleep 10
- name: Time for testing
run: |
while [ $(docker ps | grep selenium_tests) ]; do
sleep 60
done
- name: Tests results
run: |
echo docker-compose -f docker-compose-tests.yml logs selenium-tests
if [ $(docker-compose -f docker-compose-tests.yml logs selenium-tests | grep -c "OK") -eq 1 ]; then
echo true
exit 0
Expand Down

0 comments on commit 3d73311

Please sign in to comment.