-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 819 Bytes
/
test.yml
File metadata and controls
39 lines (34 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Unit Tests
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
workflow_call:
workflow_dispatch:
concurrency:
group: run-tests-group-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Unit Tests
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: charts/unit-tests
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Helm
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm plugin install https://github.com/quintush/helm-unittest
- name: Update dependencies
run: |
helm dependencies update
- name: Execute tests
run: |
helm unittest -3 .