Skip to content

operators-installer - updates #511

operators-installer - updates

operators-installer - updates #511

Workflow file for this run

name: Lint and Test Charts
on:
pull_request:
paths-ignore:
- '.github/**'
- 'README.md'
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch history
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.5.1
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Run chart-testing (lint)
id: lint
uses: helm/[email protected]
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
run: ct lint
# TODO
# These checks invariably fail with openshift specific features, features that need pv/pvc
# Need a better strategy here
# - name: Create kind cluster
# uses: helm/[email protected]
# if: steps.lint.outputs.changed == 'true'
# - name: Run chart-testing (install)
# uses: helm/[email protected]
# with:
# command: install
# config: ct.yaml