run the golden suite against the CLI too, and pin every delta
Both engines now go through the same 68 cases. 31 produce byte-identical output; the rest have a recorded CLI expectation and a reason in DELTAS.md, the bulk of it being that the CLI does not shell out to a recursive make and calls compose once per project. Fixed while comparing: the CLI was missing the COMPOSE_FILE_* defaults, so overlays such as supabase.labels.yml would not have been loaded at all.
This commit is contained in:
@@ -5,8 +5,9 @@ SHELLSPEC ?= shellspec
|
||||
SHELLCHECK ?= shellcheck
|
||||
|
||||
.PHONY: $(DEV_TARGETS)
|
||||
test: ## Run unit + golden tests
|
||||
test: ## Run unit + golden tests against both engines
|
||||
$(SHELLSPEC)
|
||||
MYOS_ENGINE=cli $(SHELLSPEC) spec/golden
|
||||
test-unit: ## Run unit tests only
|
||||
$(SHELLSPEC) spec/unit
|
||||
test-golden: ## Run golden tests only (MYOS_ENGINE=legacy|cli)
|
||||
|
||||
Reference in New Issue
Block a user