We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce86dda commit 85af013Copy full SHA for 85af013
ci/run_tests.sh
@@ -203,7 +203,26 @@ popd
203
204
# test dependency priority
205
pushd dependency_priority
206
-"$fpm" run
+
207
+# first build should run OK
208
+EXIT_CODE=0
209
+"$fpm" run || EXIT_CODE=$?
210
+test $EXIT_CODE -eq 0
211
212
+# Build again, should update nothing
213
+"$fpm" build --verbose > build.log
214
+if [[ -n "$(grep Update build.log)" ]]; then
215
+ echo "Some dependencies were updated that should not be";
216
+ exit 1;
217
+fi
218
219
+# Request update, should update oth
220
+"$fpm" update --clean --verbose > update.log
221
+if [[ -z "$(grep Update update.log)" ]]; then
222
+ echo "No updated dependencies after 'fpm update --clean'";
223
224
225
226
popd
227
228
# Cleanup
0 commit comments