chore: limesurvey upgrades #224
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 Charts | |
on: [push, pull_request] | |
jobs: | |
lint-and-unittest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Fetch history | |
run: git fetch --prune --unshallow | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2.6.1 | |
- name: Run chart-testing (lint) | |
run: ct lint --config .github/ct-lint.yaml | |
# Running the unittest immediately afterwards so we don't need to | |
# checkout the repository and download mariadb chart twice | |
- name: Run helm-unittest | |
uses: addnab/docker-run-action@v3 | |
with: | |
registry: docker.io | |
image: quintush/helm-unittest:3.6.3-0.2.7 | |
options: -v ${{ github.workspace }}:/apps | |
run: | | |
set -x | |
cd limesurvey | |
helm unittest --helm3 . |