From: Sarah Hoffmann Date: Tue, 30 Jul 2024 15:41:49 +0000 (+0200) Subject: switch CI to new handling of legacy BDD tests X-Git-Tag: deploy~4^2~3^2~5 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/f5fd2f0e7ae0a80ffb33efc31b8d490beae12797 switch CI to new handling of legacy BDD tests --- diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 5b7dacf0..1cfaf616 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -118,7 +118,8 @@ jobs: - name: BDD tests run: | - python3 -m behave -DREMOVE_TEMPLATE=1 -DBUILDDIR=$GITHUB_WORKSPACE/build --format=progress3 + export PATH=$GITHUB_WORKSPACE/build/osm2pgsql:$PATH + python3 -m behave -DREMOVE_TEMPLATE=1 --format=progress3 working-directory: Nominatim/test/bdd - name: Install mypy and typechecking info @@ -170,7 +171,8 @@ jobs: - name: BDD tests (legacy tokenizer) run: | - python3 -m behave -DREMOVE_TEMPLATE=1 -DBUILDDIR=$GITHUB_WORKSPACE/build -DAPI_ENGINE=php -DTOKENIZER=legacy --format=progress3 + export PATH=$GITHUB_WORKSPACE/build/osm2pgsql:$PATH + python3 -m behave -DREMOVE_TEMPLATE=1 -DSERVER_MODULE_PATH=$GITHUB_WORKSPACE/build/module -DAPI_ENGINE=php -DTOKENIZER=legacy --format=progress3 working-directory: Nominatim/test/bdd @@ -217,7 +219,8 @@ jobs: - name: BDD tests (php) run: | - python3 -m behave -DREMOVE_TEMPLATE=1 -DBUILDDIR=$GITHUB_WORKSPACE/build -DAPI_ENGINE=php --format=progress3 + export PATH=$GITHUB_WORKSPACE/build/osm2pgsql:$PATH + python3 -m behave -DREMOVE_TEMPLATE=1 -DAPI_ENGINE=php --format=progress3 working-directory: Nominatim/test/bdd