add support for K8s metrics API as a source of PVC usage data #200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Lint and Test Charts" | |
on: | |
pull_request: | |
paths: | |
- "charts/**" | |
jobs: | |
lint-test: | |
runs-on: "ubuntu-20.04" | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "Setup Go" | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: "Setup Tools" | |
run: | | |
make setup | |
- name: "Run helm-docs" | |
run: ./bin/helm-docs && git diff --no-patch --exit-code | |
- name: "Set up chart-testing" | |
uses: helm/[email protected] | |
- name: "Run chart-testing (lint)" | |
run: ct lint --config ct.yaml | |
- name: "Setup kind" | |
run: | | |
make -C test/e2e setup | |
make -C test/e2e init-cluster | |
- name: "Run chart-testing (install)" | |
run: ct install --config ct.yaml |