Skip to content

Commit

Permalink
🚧 add logs to GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
annashamray committed May 31, 2024
1 parent 448f342 commit 8cdbb7a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/quick_start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@ jobs:
# todo replace branch name with master after the change is merge
run: wget https://raw.githubusercontent.com/maykinmedia/objecttypes-api/feature/merge-docker-composes/docker-compose.yml
- name: Start docker containers
run: docker compose up -d --no-build
run: docker compose up --no-build
- name: Wait until DB container starts
run: sleep 10
- name: Load fixtures
run: docker compose exec -T web src/manage.py loaddata demodata
- name: Create superuser
run: docker-compose exec -T web src/manage.py createsuperuser --username admin --email [email protected] --no-input
- name: Check main page
run: |
curl_status=$(curl -w '%{http_code}' -o /dev/null -s http://localhost:8001/)
if [[ $curl_status != 200 ]]; then
printf "index page responds with $curl_status status" >&2
exit 1
fi

0 comments on commit 8cdbb7a

Please sign in to comment.