Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Merge upstream

Merge upstream #2

Workflow file for this run

name: Lint and Test Helm Charts
on:
push:
paths:
- 'charts/selenium-grid/**'
pull_request:
paths:
- 'charts/selenium-grid/**'
workflow_dispatch:
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.13.2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
check-latest: true
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config tests/chart-test.yaml)
if [[ -n "$changed" ]]; then
echo "{changed}={true}" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint)
run: ct lint --config tests/chart-test.yaml
- name: Create kind cluster
uses: helm/[email protected]
- name: Run chart-testing (install)
run: ct install --all --config tests/chart-test.yaml