Skip to content

Commit

Permalink
Erreur exit1
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Dec 30, 2024
1 parent 7ad4d72 commit a971180
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ 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
echo "Test install modules"
for protocole in ./*/; do echo install ${protocole}; geonature monitorings install $protocole > install.log; done
# Test sql
for protocole in ./*/; do echo process_sql ${protocole}; geonature monitorings process_sql $protocole |grep -i error && exit 1; done
echo "Test process_sql modules"
for protocole in ./*/; do echo process_sql ${protocole}; geonature monitorings process_sql $protocole |grep -i error && echo "error" exit 1 || echo "OK" ; done

0 comments on commit a971180

Please sign in to comment.