Skip to content

fix(plausible): add ci mock values #1619

fix(plausible): add ci mock values

fix(plausible): add ci mock values #1619

Workflow file for this run

name: Test Charts
on:
push:
branches:
- master
paths-ignore:
- '**/README.md'
- '**/README.md.tmpl'
pull_request:
paths-ignore:
- '**/README.md'
- '**/README.md.tmpl'
jobs:
test:
name: Test Charts
runs-on: ubuntu-latest
steps:
# checkout
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
# prepare
- uses: actions/setup-python@v5
with:
python-version: 3.7
# setup helm
- uses: azure/[email protected]
# setup chart testing
- uses: helm/[email protected]
# check if charts changed
- name: Check if charts changed
id: list-changed
run: |
[ -n "$(ct list-changed)" ] && echo "changed=true" >> $GITHUB_OUTPUT || exit 0
# setup kind cluster
- uses: helm/[email protected]
if: steps.list-changed.outputs.changed == 'true'
# lint charts
- name: Lint charts
run: |
ct lint --config .ct/ct-lint.yml --all
# test charts
- name: Test charts
if: steps.list-changed.outputs.changed == 'true'
run: |
ct install --config .ct/ct-install.yml