The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
ef497bc3412273c3a45f43f40e69c9520c7cc74c / Ephraim Anierobi 
<[email protected]>
Add Code Coverage Helper Tool for Airflow (#35061)

* Add Code Coverage Helper Tool for Airflow

- Facilitates local code coverage tracking for select areas.
- Displays reports at https://localhost:280808/dev/coverage/index.html for the 
particular area for easy access.
- Can also help in running tests in groups.

Supported areas:
- Core
- REST API
- CLI
- WWW

How to run the commands:
- python scripts/cov/core_coverage.py
- python scripts/cov/restapi_coverage.py
- python scripts/cov/cli_coverage.py
- python scripts/cov/www_coverage.py

Note:
- Tool can only be run within the Breeze environment.
- A list of modules that are not fully covered is available in the command code
- If a module achieves full coverage, the tool flags an error, so the module is 
removed from the list of not yet fully covered.
- Also if a module at 100% coverage goes below, the tool flags it and asks that 
it should be improved.

Currently, the coverage is not enforced even on the CI. It's currently just for 
anyone who want to work on some module's coverage

* Update airflow/www/views.py

Co-authored-by: Andrey Anshin <[email protected]>

* Update airflow/www/views.py

Co-authored-by: Tzu-ping Chung <[email protected]>

* Add documentation

* Use AIRFLOW_ENV for development view restriction

* update logging

* fix docs

* Update TESTING.rst

Co-authored-by: Jarek Potiuk <[email protected]>

* fixup! Update TESTING.rst

---------

Co-authored-by: Andrey Anshin <[email protected]>
Co-authored-by: Tzu-ping Chung <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/6613090808

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to