Skip to content

Commit 2c1c264

Browse files
committed
chore: enhance run-tests script to build chart dependencies
- Added a step to build dependencies for the specified chart directory before running helm-unittest.
1 parent 0b40b9e commit 2c1c264

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

charts/run-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ if ! helm plugin list 2>/dev/null | awk '{print $1}' | grep -qx "unittest"; then
1515
exit 1
1616
fi
1717

18+
echo "Building dependencies for ${CHART_DIR}"
19+
helm dependency build "${CHART_DIR}"
20+
1821
echo "Running helm-unittest for ${CHART_DIR}"
1922
helm unittest "${CHART_DIR}"

0 commit comments

Comments
 (0)