Skip to content

Check for empty list of integration tests before evaluation inside marix that requires a value. - #43546

Merged
tirkarthi merged 1 commit into
apache:mainfrom
tirkarthi:fix-integration-annotation
Nov 2, 2024
Merged

tirkarthi merged 1 commit into
apache:mainfrom
tirkarthi:fix-integration-annotation

Conversation

@tirkarthi

Copy link
Copy Markdown
Contributor

When there is a PR with only new UI changes the list of integration tests is empty. The empty list causes annotation error in matrix step. The PR is green with tests that ran but it sends an email notification that PR run failed due to this annotation error causing confusion. Hence add a check before evaluation to execute integration tests only when the list is not empty. This was due to my previous change in #43512

Solution found in dorny/paths-filter#66 (comment)
Ref error : https://github.com/apache/airflow/actions/runs/11610447563?pr=43501

Tests
Error when evaluating 'strategy' for job 'tests-integration'. 0481b8e (Line: 67, Col: 22): Matrix vector 'integration' does not contain any values

@tirkarthi
tirkarthi requested review from ashb and potiuk as code owners October 31, 2024 12:00
@tirkarthi
tirkarthi force-pushed the fix-integration-annotation branch from fe28602 to c9cd698 Compare October 31, 2024 12:06
@tirkarthi
tirkarthi force-pushed the fix-integration-annotation branch from c9cd698 to 6be83a6 Compare October 31, 2024 12:07
@tirkarthi
tirkarthi merged commit 17e5100 into apache:main Nov 2, 2024
@potiuk

potiuk commented Nov 2, 2024

Copy link
Copy Markdown
Member

Nice!

ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants