Repository navigation
docs(contributing): fix unit‑test example paths for Airflow 3 - #51035
Merged
gopidesupavan merged 6 commits intoMay 26, 2025
Merged
gopidesupavan merged 6 commits into
gopidesupavan merged 6 commits into
Conversation
potiuk
approved these changes
May 25, 2025
Member
|
Thanks for doing this, can you please double check the paths, with Airflow 3 we have removed some of the files. so may not be accurate the current list in the coverage file? |
Contributor
Author
|
Sure, let me check on that. |
Contributor
Author
|
Done. I checked all the files in |
gopidesupavan
approved these changes
May 26, 2025
sanederchik
pushed a commit
to sanederchik/airflow
that referenced
this pull request
Jun 7, 2025
…#51035) * docs(contributing): fix unit‑test example paths for Airflow 3 * fix all broken commands for pytest and breeze * rm Webserver coverage test & simplify coverage report viewing * fix incorrect paths in coverage report scripts * rm deprecated file in core_coverage & improve run_tests * add file has dropped in coverage to the list
jose-lehmkuhl
pushed a commit
to jose-lehmkuhl/airflow
that referenced
this pull request
Jul 11, 2025
…#51035) * docs(contributing): fix unit‑test example paths for Airflow 3 * fix all broken commands for pytest and breeze * rm Webserver coverage test & simplify coverage report viewing * fix incorrect paths in coverage report scripts * rm deprecated file in core_coverage & improve run_tests * add file has dropped in coverage to the list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi folks! While following
contributing-docs/testing/unit_tests.rston a fresh Airflow 3.0 checkout, I noticed the shell snippets either fail outright or reference legacy paths/flags.This PR refreshes the doc so newcomers can copy‑paste and succeed on the first try.
✨ What's fixed
pytest tests/core/...pytest airflow-core/tests/unit/...breeze core-testing …breeze testing core-tests …--skip--docker-compose-down--skip-docker-compose-downairflow webserver, open/dev/coveragecd htmlcov && python -m http.server 5555, then open http://localhost:25555/ (Breeze maps 5555→25555)✅ Verification
All updated commands were executed inside a Breeze container launched with:
I aimed to modernise the docs for Airflow 3.x; however, if any of these changes would break needed compatibility with Airflow 2.x, or if you feel the update isn't necessary, please let me know and I'll gladly revise or withdraw.
Thanks for your review!