Skip to content

Commit

Permalink
Recupération configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Dec 20, 2024
1 parent 87966af commit e5798c3
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
run: |
sudo apt update
sudo apt install -y libgdal-dev
- name: Install dependencies
- name: Install geonature
run: |
python -m pip install --upgrade pip
python -m pip install https://github.com/PnX-SI/GeoNature/archive/master.zip
Expand All @@ -87,18 +87,15 @@ jobs:
python -m pip install https://github.com/PnX-SI/gn_module_monitoring/archive/main.zip
working-directory: .
- name: Install geonature database
run: |
run: |
export GEONATURE_CONFIG_FILE=`curl -fsSL https://raw.githubusercontent.com/PnX-SI/GeoNature/refs/heads/master/config/test_config.toml`
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
geonature db autoupgrade -x local-srid=2154
- name: Install monitoring module database
run: |
geonature upgrade-modules-db MONITORINGS
env:
GEONATURE_CONFIG_FILE: https://raw.githubusercontent.com/PnX-SI/GeoNature/refs/heads/master/config/test_config.toml
export GEONATURE_CONFIG_FILE=`curl -fsSL https://raw.githubusercontent.com/PnX-SI/GeoNature/refs/heads/master/config/test_config.toml`
geonature upgrade-modules-db MONITORINGS
- name: Test install monitoring
run: |
geonature monitorings install apollons
env:
GEONATURE_CONFIG_FILE: https://raw.githubusercontent.com/PnX-SI/GeoNature/refs/heads/master/config/test_config.toml
export GEONATURE_CONFIG_FILE=`curl -fsSL https://raw.githubusercontent.com/PnX-SI/GeoNature/refs/heads/master/config/test_config.toml`
geonature monitorings install apollons

0 comments on commit e5798c3

Please sign in to comment.