Skip to content

Commit

Permalink
Fix unit test workflow again
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall committed Oct 13, 2024
1 parent 48dfb55 commit 902e54e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
# In manual trigger, run for all charts
echo "Manual dispatch detected, running tests for all charts"
# shellcheck disable=SC2010
echo "changed_charts=$(ls charts | grep -v "k8s-monitoring-v1" | sort -u)" >> "${GITHUB_OUTPUT}"
changed_charts=$(ls charts | grep -v "k8s-monitoring-v1" | sort -u)
echo "changed_charts=$(echo "$changed_charts" | jq --raw-input --slurp --compact-output 'split("\n") | map(select(. != ""))')" >> "${GITHUB_OUTPUT}"
exit 0
fi
Expand Down

0 comments on commit 902e54e

Please sign in to comment.