Update run_pyl (#1171)
Testing the build, but also noticed this could be removed. Have not tested locally.
This commit is contained in:
parent
bc2852c984
commit
707108fb8c
|
@ -17,15 +17,6 @@ react_projects=(
|
||||||
|
|
||||||
subcommand="${1:-}"
|
subcommand="${1:-}"
|
||||||
|
|
||||||
if [[ "$subcommand" == "pre" ]]; then
|
|
||||||
if [[ -n "$(git status --porcelain SpiffWorkflow)" ]]; then
|
|
||||||
echo "SpiffWorkflow has uncommitted changes. Running its test suite."
|
|
||||||
pushd SpiffWorkflow
|
|
||||||
make tests-par # run tests in parallel
|
|
||||||
popd
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
function get_python_dirs() {
|
function get_python_dirs() {
|
||||||
(git ls-tree -r HEAD --name-only | grep -E '\.py$' | awk -F '/' '{print $1}' | sort | uniq | grep -v '\.' | grep -Ev '^(bin|migrations)$') || echo ''
|
(git ls-tree -r HEAD --name-only | grep -E '\.py$' | awk -F '/' '{print $1}' | sort | uniq | grep -v '\.' | grep -Ev '^(bin|migrations)$') || echo ''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue