Merge pull request #37 from loicwinkopp/icinga-stack-icinga2-extra-en… #58
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: Change permissions on cloned repo | |
run: chmod -R 777 ${{ github.workspace }} | |
- name: Test Helm chart icinga-stack | |
uses: addnab/docker-run-action@v3 | |
with: | |
registry: docker.io | |
image: quintush/helm-unittest:3.11.2-0.3.0 | |
options: -v ${{ github.workspace }}:/apps | |
run: | | |
set -x | |
cd charts/icinga-stack | |
helm unittest . |