Files
Zach LeslieandGitHub 661b5608c7 Begin unit testing jsonnet microservices (#2229)
* Attempt unit testing jsonnet microservices

Signed-off-by: Zach Leslie <[email protected]>

* Config update

* Update structure for microservices test

* Wire up CI to run the jsonnet tests

* Separate compile step, use output in first test

---------

Signed-off-by: Zach Leslie <[email protected]>
2023-06-07 16:28:49 +00:00

17 lines
354 B
Makefile

.PHONY: test
test: jsonnet-compile jsonnet-test tanka-test
tanka-test:
tk show test/environments/default
jsonnet-compile:
@cd test/ && \
mkdir -p outputs && \
jb install && \
jsonnet -J vendor -J lib -o outputs/base.json environments/default/main.jsonnet
jsonnet-test: jsonnet-compile
@cd test/ && \
jsonnet -J vendor -J lib test1.jsonnet