Skip to content

no sensor

no sensor #26

Workflow file for this run

name: Helm Tests
on:
workflow_dispatch:
pull_request:
paths:
- 'charts/**'
branches:
- main
jobs:
helm-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3
- name: Install helm unittest plugin
run: |
helm plugin install https://github.com/quintush/helm-unittest
- name: Run tests for modified charts
run: |
# Get list of modified charts
# Run tests for each modified chart
for chart in charts/*; do
cd $chart
if [ -e "run-tests.sh" ]; then
echo "Testing chart: $chart"
helm dependency update
./run-tests.sh || exit 1
cd ../../
fi
done