Skip to content

Commit 137235b

Browse files
committed
Make sg_dependencies.txt optinal
1 parent 399beae commit 137235b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

bin/oca_install_addons__deps_and_addons_path

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@ env SETUPTOOLS_ODOO_POST_VERSION_STRATEGY_OVERRIDE=none \
2727
>> test-requirements.txt
2828
cat test-requirements.txt
2929

30-
pip install -r sg_dependencies.txt
31-
pip freeze
30+
if [ -f sg_dependencies.txt ]; then
31+
echo "No sg_dependencies.txt found"
32+
else
33+
pip install -r sg_dependencies.txt
34+
pip freeze
35+
fi
36+
3237
# We ensure that the test-constraints.txt file does not exist
3338
if [ -e "test-constraints.txt" ]; then
3439
echo "Error: test-constraints.txt already exists."

0 commit comments

Comments
 (0)