From 72703c5e7011fbe6e7b8721ebf96afa8ea5fd68c Mon Sep 17 00:00:00 2001 From: Komal Date: Tue, 17 Dec 2024 22:15:22 +0530 Subject: [PATCH] Add workflow for running unittest --- .github/workflows/unit-tests.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/unit-tests.yaml diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml new file mode 100644 index 00000000..31ad36b7 --- /dev/null +++ b/.github/workflows/unit-tests.yaml @@ -0,0 +1,22 @@ +name: Unit Tests for Charts + +on: + pull_request: {} + push: + branches: + - master + +jobs: + unit-test: + runs-on: ubuntu-latest + steps: + - name: Git Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set up unit tests + run: $ helm plugin install https://github.com/helm-unittest/helm-unittest.git + + - name: Run unit tests for tyk-stack + run: helm unittest ./tyk-stack \ No newline at end of file