forked from redpanda-data/console
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 900 Bytes
/
helm-test.yml
File metadata and controls
38 lines (32 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Lint and Test Charts
on:
push:
branches:
- master
paths:
- "helm/**"
- ".github/workflows/helm-test.yml"
pull_request:
branches:
- master
paths:
- "helm/**"
- ".github/workflows/helm-test.yml"
jobs:
helm-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up latest stable Helm version
uses: azure/setup-helm@v3
# Python is required because ct lint runs Yamale and yamllint which requires Python
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
- name: Run chart-testing (lint)
run: ct lint --debug --chart-dirs helm --target-branch ${{ github.event.repository.default_branch }}