Skip to content

Commit

Permalink
Test process sql
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Dec 30, 2024
1 parent 2614ba1 commit 64fa1a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ jobs:
geonature db autoupgrade -x local-srid=2154
- name: Install monitoring module database
run: |
curl -fsSL https://raw.githubusercontent.com/PnX-SI/GeoNature/refs/heads/master/config/test_config.toml -o output.txt
export GEONATURE_CONFIG_FILE=output.txt
geonature upgrade-modules-db MONITORINGS
Expand All @@ -105,9 +104,9 @@ jobs:
mkdir -p /opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/site-packages/media/monitorings/
cp -r * /opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/site-packages/media/monitorings/
# Test install module
for protocole in ./*/; do geonature monitorings install $protocole; done
for protocole in ./*/; do echo install ${protocole}; geonature monitorings install $protocole > install.log; done
# Test sql
for protocole in ./*/; do geonature monitorings process_sql $protocole|grep -i error|exit 1; done
for protocole in ./*/; do echo process_sql ${protocole}; geonature monitorings process_sql $protocole |grep -i error |exit 1; done

0 comments on commit 64fa1a8

Please sign in to comment.