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

Head commit for run:
846b21427e85dcdbb20c43388ef7a0aeb5769eef / Jarek Potiuk <[email protected]>
Fix and improve consistency of checking command return code

This is an aftermath of #23104 after switchig to docs building
by breeze, failure of build documentation did not trigger failure
of the docs build (but it did trigger main failure of pushing
the documentation).

This change improves and simplifies the return code processing and
propagation in the commands executed by breeze - thanks to common
returncode, stdout, stderr available in both CompletedProcess
and CalledProcessError and returning fake CompletedProcess in dry_run
mode, we can also satisfy MyPy type check by returning non-optional
Union of those two types which simplifies returncode processing.

This change fixes the error in the docs (lack of empty lines before
auto-generated extras).

All commands have been reviewed to see if the returncode is
correctly handled where needed.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to