Skip to content

Commit

Permalink
test UT
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeaty-cisco committed May 10, 2024
1 parent 0904a01 commit b70e14a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/commit-check-new
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,20 @@ python3 -m pip install PyYAML

./scripts/check-dependency-version-increment

# chart-testing (list-changed)
echo
echo "Running chart-testing (list-changed)"
DEFAULT_BRANCH="main"
changed=$(ct list-changed --target-branch $DEFAULT_BRANCH)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi

# chart-testing (lint)
echo
echo "Running chart-testing (lint)"
ct lint --config .github/config/ct.yml --target-branch $DEFAULT_BRANCH

# chart-testing (check-version-increment)
echo
echo "Running chart-testing (check-version-increment)"
ct lint --config .github/config/ct-version-increment.yml --target-branch $DEFAULT_BRANCH

# Build container for UT
Expand Down

0 comments on commit b70e14a

Please sign in to comment.