]> git.openstreetmap.org Git - nominatim.git/blobdiff - .github/workflows/ci-tests.yml
Connect using localhost instead of socket
[nominatim.git] / .github / workflows / ci-tests.yml
index 3f6185440a8645a4f504585b3905aec1d8733f93..42c03edc17d9e76fd20463b6294c25ce1fa730bc 100644 (file)
@@ -426,7 +426,6 @@ jobs:
             run: |
                 sudo -u postgres createuser -S osm-import
                 sudo -u postgres psql -c "ALTER USER \"osm-import\" WITH PASSWORD 'osm-import';"
-                sudo -u postgres createuser -S www-data
             working-directory: /home/nominatim/nominatim-project
 
           - name: Grant import user rights
@@ -436,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