changed how tests are ran; updated dotenv to handle parsing fields into structs
CI / Detect changed paths (pull_request) Failing after 31m29s
CI / Infra unit tests, vet, and preview (pull_request) Has been skipped
CI / API unit tests and lint (pull_request) Failing after 34m25s
CI / Odin unit tests and build (pull_request) Failing after 34m36s

This commit is contained in:
2026-09-07 14:35:30 -06:00
parent ac2d30510c
commit ba24005bfb
6 changed files with 386 additions and 187 deletions
+8 -1
View File
@@ -46,7 +46,14 @@ build-web: ## WebAssembly build -> build/web (needs emscripten)
test: ## Run Odin unit tests
@mkdir -p lib/local
$(ODIN) test test $(ODIN_FLAGS)
@if ls test/*.odin >/dev/null 2>&1; then \
echo "== gui/test =="; \
$(ODIN) test test $(ODIN_FLAGS); \
fi
@for dir in $$(find lib/local -name '*_test.odin' -exec dirname {} \; | sort -u); do \
echo "== $$dir =="; \
$(ODIN) test "$$dir" $(ODIN_FLAGS); \
done
clean: ## Remove build artifacts
rm -rf $(BIN) build