Skip to content

Commit

Permalink
set output
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinaProsche committed Mar 1, 2024
1 parent 2495daa commit 0835838
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/selenium_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ jobs:
run: |
docker-compose -f docker-compose-tests.yml up -d
sleep 120
- name: Check tests
- name: Tests results
run: |
[ $(docker-compose -f docker-compose-tests.yml logs selenium-tests | grep -c "OK") -eq 1 ] && echo true || echo false
if [ $(docker-compose -f docker-compose-tests.yml logs selenium-tests | grep -c "OK") -eq 1 ]; then
echo true
exit 0
else
echo false
exit 1
fi

0 comments on commit 0835838

Please sign in to comment.