From 87966af021a882b69641ea8810110754ad2df0ea Mon Sep 17 00:00:00 2001 From: amandine-sahl Date: Fri, 20 Dec 2024 16:47:42 +0100 Subject: [PATCH] Install gn2 database --- .github/workflows/pytest.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1e4b17d..60e8065 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -86,19 +86,12 @@ jobs: run: | python -m pip install https://github.com/PnX-SI/gn_module_monitoring/archive/main.zip working-directory: . - - name: Install database + - name: Install geonature database run: | - https://raw.githubusercontent.com/PnX-SI/GeoNature/refs/heads/master/install/03b_populate_db.sh + geonature db upgrade geonature@head -x local-srid=2154 + geonature db autoupgrade -x local-srid=2154 env: GEONATURE_CONFIG_FILE: https://raw.githubusercontent.com/PnX-SI/GeoNature/refs/heads/master/config/test_config.toml - srid_local: 2154 - install_bdc_statuts: false - taxref_region: fr - add_sample_data: true - install_sig_layers: true - install_grid_layer_5: false - install_grid_layer_10: false - install_ref_sensitivity: false - name: Install monitoring module database run: | geonature upgrade-modules-db MONITORINGS