From a887e32f26a38ccfb059fdd0ba16d8e879d6a095 Mon Sep 17 00:00:00 2001 From: Douglas Jacobsen Date: Mon, 14 Oct 2024 10:31:52 -0600 Subject: [PATCH] Add debugging prints to style test --- share/ramble/cloud-build/ramble-pr-style.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/share/ramble/cloud-build/ramble-pr-style.yaml b/share/ramble/cloud-build/ramble-pr-style.yaml index 25a22fb2a..c25ed90ba 100644 --- a/share/ramble/cloud-build/ramble-pr-style.yaml +++ b/share/ramble/cloud-build/ramble-pr-style.yaml @@ -34,24 +34,36 @@ steps: # https://cloud.google.com/build/docs/configuring-builds/substitute-variable-values style_err=$$? - ramble commands --update-completion - git diff --exit-code &> /dev/null + echo "Running commands tests" + + ramble -d commands --update-completion + ramble commands --aliases --format=bash --header=share/ramble/bash/ramble-completion.in --update=share/ramble/ramble-completion.bash + git --version + git diff --exit-code # $$ characters are required for cloud-build: # https://cloud.google.com/build/docs/configuring-builds/substitute-variable-values commands_err=$$? + echo "Running pyupgrade" + # Enforce up-to-date python syntax pre-commit run pyupgrade --all-files --verbose pyupgrade_err=$$? + echo "Running license verify tests" + ramble license verify # $$ characters are required for cloud-build: # https://cloud.google.com/build/docs/configuring-builds/substitute-variable-values license_err=$$? + echo "Removing pytest" + # Test removing a dependency pip uninstall -y pytest + echo "Running help test" + ramble help # $$ characters are required for cloud-build: # https://cloud.google.com/build/docs/configuring-builds/substitute-variable-values