X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/58db0ad6d84a462c9d72fd0ff3d334167ab03689..c41f2fed2133668dc3179813261d39d3ff69cbdd:/.github/workflows/ci-tests.yml diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index c466e0c1..42c03edc 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -424,7 +424,8 @@ jobs: - name: Create import user run: | - sudo -u postgres createuser -S osm-import -P osm-import + sudo -u postgres createuser -S osm-import + sudo -u postgres psql -c "ALTER USER \"osm-import\" WITH PASSWORD 'osm-import';" working-directory: /home/nominatim/nominatim-project - name: Grant import user rights @@ -434,7 +435,7 @@ jobs: - name: Run import run: | - NOMINATIM_DATABASE_DSN="pgsql:dbname=nominatim;user=osm-import;password=osm-import" nominatim import --continue import-from-file --osm-file ../test.pbf + NOMINATIM_DATABASE_DSN="pgsql:host=127.0.0.1;dbname=nominatim;user=osm-import;password=osm-import" nominatim import --continue import-from-file --osm-file ../test.pbf working-directory: /home/nominatim/nominatim-project - name: Check full import