-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into spec/ebios-rm3
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ jobs: | |
export $(grep -v '^#' .env | xargs) | ||
- name: Config the Docker app | ||
run: | | ||
sleep 60 # give the migrations time to finish (included in the up on the previous step) | ||
sleep 120 # give the migrations time to finish (included in the up on the previous step) | ||
docker compose -f docker-compose-build.yml exec backend /bin/bash -c "[email protected] DJANGO_SUPERUSER_PASSWORD=1234 poetry run python manage.py createsuperuser --noinput && exit 0" | ||
- name: Run tests | ||
working-directory: ${{ env.frontend-directory }} | ||
|
@@ -142,6 +142,7 @@ jobs: | |
exit 0 | ||
else | ||
echo "Failure" | ||
echo "Check if migrations are not too long" | ||
exit 1 | ||
fi | ||
|
@@ -258,7 +259,7 @@ jobs: | |
export $(grep -v '^#' .env | xargs) | ||
- name: Config the Docker app | ||
run: | | ||
sleep 60 # give the migrations time to finish (included in the up on the previous step) | ||
sleep 120 # give the migrations time to finish (included in the up on the previous step) | ||
docker compose -f enterprise/docker-compose-build.yml exec backend /bin/bash -c "[email protected] DJANGO_SUPERUSER_PASSWORD=1234 poetry run python manage.py createsuperuser --noinput --settings=${{ env.enterprise-backend-settings-module }} && exit 0" | ||
- name: Run tests | ||
working-directory: ${{ env.frontend-directory }} | ||
|
@@ -270,5 +271,6 @@ jobs: | |
exit 0 | ||
else | ||
echo "Failure" | ||
echo "Check if migrations are not too long" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters