From 312f816c1940e1fd874615d32d8c6a2ad57f78c2 Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Sun, 4 Feb 2024 21:42:04 +0100 Subject: [PATCH] CI: Rework unit testing. --- .github/workflows/ci.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ae03e78c2..daa58e571 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -216,14 +216,6 @@ jobs: - name: Set up chart-testing uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1 - - name: Install Helm Unit Test Plugin - run: | - helm plugin install https://github.com/helm-unittest/helm-unittest - - - name: Run Helm Unit Tests - run: | - helm unittest charts/ingress-nginx -d - - name: Run chart-testing (lint) run: ct lint --config ./.ct.yaml @@ -246,6 +238,11 @@ jobs: ./ah lint -p charts/ingress-nginx || exit 1 rm -f ./ah ./ah_1.5.0_linux_amd64.tar.gz + - name: Run unit tests + run: | + helm plugin install https://github.com/helm-unittest/helm-unittest + helm unittest charts/ingress-nginx + chart-test: name: Chart / Test runs-on: ubuntu-latest