Skip to content

Commit

Permalink
Add debugging prints to style test
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasjacobsen committed Oct 14, 2024
1 parent 7c46986 commit a887e32
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions share/ramble/cloud-build/ramble-pr-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a887e32

Please sign in to comment.