Skip to content

Lint and Test Charts #985

Lint and Test Charts

Lint and Test Charts #985

Workflow file for this run

name: Lint and Test Charts
on:
pull_request:
schedule:
- cron: 0 4 * * *
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.4.0
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (list-changed)
id: list-changed
run: ct list-changed --config .github/ct.yaml
- name: Run chart-testing (lint)
run: ct lint --config .github/ct.yaml
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.4.0
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/[email protected]
- name: Create kind cluster
uses: helm/[email protected]
- name: Run chart-testing (install)
run: ct install --all --config .github/ct.yaml