This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
Merge remote-tracking branch 'origin/trunk' into merge-upstream #1
Workflow file for this run
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 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 |