You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Taragolis (via GitHub)" <gi...@apache.org> on 2024/03/25 22:30:07 UTC
Re: [PR] Suppress error if no tests collected in pydantic special Tests [airflow]
Taragolis commented on code in PR #38470:
URL: https://github.com/apache/airflow/pull/38470#discussion_r1538314421
##########
dev/breeze/src/airflow_breeze/utils/run_tests.py:
##########
@@ -394,6 +394,10 @@ def generate_args_for_pytest(
"--disable-warnings",
]
)
+ else:
+ # Avoid edge cases when there are no available tests, e.g. No-Pydantic for Weaviate provider.
+ # https://docs.pytest.org/en/stable/reference/exit-codes.html
+ args.append("--suppress-no-test-exit-code")
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org