Skip to content

Commit c368eaf

Browse files
committed
correct helm unittest usage with more than one test file
1 parent e10d33d commit c368eaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
- name: Run helm-unittest
4343
# by default looks for tests/*_test.yaml
4444
run: |
45-
helm unittest --color --helm3 -f tests/unit/*_test.yaml .
45+
helm unittest --color --helm3 -f 'tests/unit/*_test.yaml' .

tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ helm dependency update
1717

1818
To run the tests manually from the chart's root dir:
1919
```
20-
helm unittest --helm3 -f tests/unit/*_test.yaml .
20+
helm unittest --helm3 -f 'tests/unit/*_test.yaml' .
2121
```
2222

2323
> Note! If you need to add unit tests, file names should follow this pattern: `tests/unit/name_your_test.yaml`

0 commit comments

Comments
 (0)