Skip to content

Commit

Permalink
Merge branch 'main' into improve/caddy-docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene authored Feb 21, 2024
2 parents dd34f5d + bc5dc67 commit f642048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/startup-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ jobs:
- name: Config the Docker app
run: |
docker compose exec backend python manage.py migrate
docker compose exec backend /bin/bash -c "[email protected] DJANGO_SUPERUSER_PASSWORD=1234 python manage.py createsuperuser --noinput"
- name: Run test
docker compose exec backend /bin/bash -c "[email protected] DJANGO_SUPERUSER_PASSWORD=1234 python manage.py createsuperuser --noinput && exit 0"
- name: Run tests
working-directory: ${{ env.working-directory }}
run: |
response=$(curl -d "[email protected]&password=1234" -H "Origin: https://localhost:8443" https://localhost:8443/login -k)
Expand Down

0 comments on commit f642048

Please sign in to comment.