From cf518ce7cc0b0b62ecd1e89693e78779e1c80997 Mon Sep 17 00:00:00 2001 From: khaledk2 Date: Sun, 29 Sep 2024 16:05:32 +0100 Subject: [PATCH] test --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc2c8b0..96ed1e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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