-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 686 Bytes
/
unittest.yml
File metadata and controls
31 lines (26 loc) · 686 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
name: unittest
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
container: alpine/helm:3.19.0
permissions:
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v5
- name: Install unittest bin
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git
- name: Run unittest
run: helm unittest -t JUnit -o test_result.xml .
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.22.0
if: always()
with:
files: |
test_result.xml