tianocore / edk2-pytool-extensions

Extensions to the edk2 build system allowing for a more robust and plugin based build system and tool execution environment
Other
60 stars 41 forks source link

ci_build: Add fail-fast option #847

Closed Javagedes closed 4 months ago

Javagedes commented 4 months ago

Adds a new command line argument, -f, --fail-fast to stuart_ci_build that will cause the script to exit immediately if any ci plugin fails.

stuart_ci_build -c .\.pytool\CISettings.py -p MdeModulePkg --disable-all NestedPackageCheck=run

image

stuart_ci_build -c .\.pytool\CISettings.py -p MdeModulePkg --disable-all NestedPackageCheck=run --fail-fast

image
codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 20.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 78.43%. Comparing base (bf643b0) to head (6acbf78). Report is 80 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/847/graphs/tree.svg?width=650&height=150&src=pr&token=vVJxZexcTI&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore)](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/847?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) ```diff @@ Coverage Diff @@ ## master #847 +/- ## ========================================== - Coverage 78.75% 78.43% -0.33% ========================================== Files 49 40 -9 Lines 4909 4901 -8 ========================================== - Hits 3866 3844 -22 - Misses 1043 1057 +14 ``` | [Files](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/847?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) | Coverage Δ | | |---|---|---| | [edk2toolext/invocables/edk2\_ci\_build.py](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/847?src=pr&el=tree&filepath=edk2toolext%2Finvocables%2Fedk2_ci_build.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMnRvb2xleHQvaW52b2NhYmxlcy9lZGsyX2NpX2J1aWxkLnB5) | `49.32% <20.00%> (+0.81%)` | :arrow_up: | ... and [48 files with indirect coverage changes](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/847/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore)