Venkat/feat bump kube prometheus stack version #424
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: chart testing | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
concurrency: | |
group: pr-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install asdf plugins | |
uses: asdf-vm/actions/install@v2 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' # caching pip dependencies | |
- name: Install chart-testing (ct) lint dependencies | |
run: pip install yamllint yamale | |
- name: Lint charts | |
run: make ct.lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install asdf plugins | |
uses: asdf-vm/actions/install@v2 | |
- name: Test charts | |
run: make ct.test |