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