2021-07-14 20:10:41 +01:00
|
|
|
name: helm-test
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
paths:
|
|
|
|
- 'charts/kyverno/**'
|
2021-07-21 01:06:56 +01:00
|
|
|
- '.github/workflows/helm-test.yaml'
|
2021-07-14 20:10:41 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
helm-tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Unshallow
|
|
|
|
run: git fetch --prune --unshallow
|
|
|
|
|
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: 3.7
|
|
|
|
|
|
|
|
- name: Set up chart-testing
|
|
|
|
uses: helm/chart-testing-action@v2.0.1
|
|
|
|
|
|
|
|
- name: Run chart-testing (lint)
|
2021-07-19 21:01:17 +01:00
|
|
|
run: ct lint --target-branch=main --check-version-increment=false
|