mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* 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]>
17 lines
354 B
Makefile
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
|
|
|