Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Sep 29, 2024
1 parent 04e478a commit cf518ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
POSTGRES_PASSWORD: passwprd
POSTGRES_DB: omero_train
ports:
- 5432/tcp
- 5433/tcp
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
wget https://github.com/khaledk2/ice-archh-64/releases/download/new_re_db/omero_train.zip -P app_data
unzip app_data/omero_train.zip -d app_data/
rm app_data/omero_train.zip
python manage.py set_database_configuration -u localhost -s ${{ job.services.postgres2.ports[5432] }} -n postgress -p passwprd -w omero_train -d omero_train -b omero_train.pgdump
python manage.py set_database_configuration -u localhost -s ${{ job.services.postgres2.ports[5433] }} -n postgress -p passwprd -w omero_train -d omero_train -b omero_train.pgdump
python manage.py restore_postgresql_database -s omero_train
python manage.py get_index_data_from_database -b False -s omero_train
# run tests
Expand Down

0 comments on commit cf518ce

Please sign in to comment.