Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Problem

The integration test codecov upload had a condition that referenced a non-existent step:

if: ${{ steps.test-filter.outputs.filter != '' }}

There is no step with id: test-filter, so this condition was always false and integration test coverage was never uploaded to Codecov.

Root Cause

This was introduced in bf49482 ("refactor: simplify CI and tests folder structure" #908). The refactor removed or renamed a step but kept the condition that referenced it.

Fix

Removed the broken condition so coverage uploads unconditionally, matching the unit test behavior.


Generated with mux β€’ Model: anthropic:claude-opus-4-5 β€’ Thinking: high

The original condition `steps.test-filter.outputs.filter != ''` referenced
a non-existent step ID, so integration test coverage was never uploaded.
This was introduced in bf49482.

Fix by adding an id to the test step and setting `ran=true` output when
tests actually run. The codecov upload is now conditioned on this output,
so it only runs when there's coverage data to upload.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants