]> git.openstreetmap.org Git - nominatim.git/blobdiff - .github/workflows/ci-tests.yml
simplify weigh_search() function
[nominatim.git] / .github / workflows / ci-tests.yml
index c466e0c1b68a7bb34e6c4e19a7a5cfa21d03f525..42c03edc17d9e76fd20463b6294c25ce1fa730bc 100644 (file)
@@ -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