Skip to content

Commit 7c7cfa7

Browse files
committed
ci: fix serial-provider junit/coverage filename for Codecov upload
The providers-serial leg wrote junit-providers-<provider>-serial.xml, but the reusable-test Codecov upload looks for junit-<test-type>-<provider>.xml = junit-providers-serial-<provider>.xml. The mismatch meant the serial leg's results never reached Codecov (its test count undercounted vs the EnricoMi summary, which globs junit-*.xml). Rename to providers-serial-<provider>.
1 parent 99262d2 commit 7c7cfa7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

makefiles/ci.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,11 @@ ci-tests-providers: ## Run providers tests (PROVIDER=<name> scopes to one provi
159159

160160
ci-tests-providers-serial: ## Run the serial-marked subset of provider tests (live AWS, etc.)
161161
@echo "Running serial provider tests: $(if $(PROVIDER),$(PROVIDER),all)..."
162-
$(call run-tool,pytest,$(PROVIDER_SERIAL_PATH) $(PYTEST_SERIAL) $(PYTEST_LIVE) $(PYTEST_ARGS) $(PYTEST_COV_ARGS) --cov-report=xml:coverage-providers$(PROVIDER_SUFFIX)-serial.xml --junitxml=junit-providers$(PROVIDER_SUFFIX)-serial.xml)
162+
# Report filenames must match the caller's Codecov upload pattern
163+
# junit-<test-type>-<provider>.xml (test-type=providers-serial), i.e.
164+
# junit-providers-serial-<provider>.xml — NOT providers-<provider>-serial,
165+
# or the serial leg's results never reach Codecov's test count.
166+
$(call run-tool,pytest,$(PROVIDER_SERIAL_PATH) $(PYTEST_SERIAL) $(PYTEST_LIVE) $(PYTEST_ARGS) $(PYTEST_COV_ARGS) --cov-report=xml:coverage-providers-serial$(PROVIDER_SUFFIX).xml --junitxml=junit-providers-serial$(PROVIDER_SUFFIX).xml)
163167

164168
ci-tests-infrastructure: ## Run infrastructure tests only (matches ci.yml infrastructure-tests job)
165169
@echo "Running infrastructure tests (parallel)..."

0 commit comments

Comments
 (0)