mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 21:34:06 +00:00
actions: switch to using separate project dir
Also fixes reverse-only import which not run at all.
This commit is contained in:
27
.github/workflows/ci-tests.yml
vendored
27
.github/workflows/ci-tests.yml
vendored
@@ -100,25 +100,28 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Import
|
- name: Import
|
||||||
run: ./nominatim import --osm-file ../monaco-latest.osm.pbf
|
run: |
|
||||||
working-directory: build
|
mkdir data-env
|
||||||
|
cd data-env
|
||||||
|
../build/nominatim import --osm-file ../monaco-latest.osm.pbf
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Import special phrases
|
- name: Import special phrases
|
||||||
run: ./nominatim special-phrases --from-wiki | psql -d nominatim
|
run: ../build/nominatim special-phrases --from-wiki | psql -d nominatim
|
||||||
working-directory: build
|
working-directory: data-env
|
||||||
|
|
||||||
- name: Check import
|
- name: Check import
|
||||||
run: ./nominatim check-database
|
run: ../build/nominatim check-database
|
||||||
working-directory: build
|
working-directory: data-env
|
||||||
|
|
||||||
- name: Run update
|
- name: Run update
|
||||||
run: |
|
run: |
|
||||||
./nominatim replication --init
|
../build/nominatim replication --init
|
||||||
./nominatim replication --once
|
../build/nominatim replication --once
|
||||||
working-directory: build
|
working-directory: data-env
|
||||||
|
|
||||||
- name: Run reverse-only import
|
- name: Run reverse-only import
|
||||||
run : |
|
run : |
|
||||||
dropdb nominatim
|
echo 'NOMINATIM_DATABASE_DSN="pgsql:dbname=reverse"' > .env
|
||||||
php ./nominatim import --osm-file ../monaco-latest.osm.pbf --reverse-only
|
../build/nominatim import --osm-file ../monaco-latest.osm.pbf --reverse-only
|
||||||
working-directory: build
|
working-directory: data-env
|
||||||
|
|||||||
Reference in New Issue
Block a user