mirror of https://github.com/knative/func.git
test: do test embedded template (#2050)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
1d94c1afb7
commit
b1b329e639
|
@ -70,6 +70,12 @@ function install_rust() {
|
|||
|
||||
function unit_tests() {
|
||||
local failed=0
|
||||
header "Checking embedded templates"
|
||||
go test knative.dev/func/pkg/filesystem -run '^\QTestFileSystems\E$/^\Qembedded\E$' -v || failed=1
|
||||
if (( failed )); then
|
||||
results_banner "Embedded templates check failed"
|
||||
exit "${failed}"
|
||||
fi
|
||||
header "Unit tests for $(go_mod_module_name)"
|
||||
make test || failed=1
|
||||
if (( failed )); then
|
||||
|
|
Loading…
Reference in New Issue