Skip to content

Commit

Permalink
fixed yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-Sagaydak committed Nov 10, 2024
1 parent 2a3bbf2 commit c485490
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ jobs:
- name: Start server and database with Docker Compose
run: docker-compose up -d

- name: Test server health
run: |
sleep 10 # Даем время серверу на старт
curl --silent --head http://localhost:7777 | grep "HTTP/1.1 200 OK" > /dev/null
if [ "$?" -eq 0 ]; then
echo "Сервер успешно запущен"
else
echo "Ошибка при запуске сервера"
exit 1
fi
- name: Stop Docker Compose
run: docker-compose down

Expand Down

0 comments on commit c485490

Please sign in to comment.