agent: release 0.3.3762 #3
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: Agent Test Charts | |
on: | |
push: | |
paths: | |
- charts/agent/**/*.yml | |
- charts/agent/**/*.yaml | |
- charts/agent/templates/** | |
branches: | |
- main | |
env: | |
HELM_VERSION: 3.6.3 | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: "${{ env.HELM_VERSION }}" | |
- name: Add helm repos | |
run: | | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
helm repo update | |
- name: Install unittest plugin | |
run: helm plugin install https://github.com/vbehar/helm3-unittest | |
- name: Run agent unit tests | |
run: helm unittest ./charts/agent |