pytorch
eb39da6b - Always run as many quick-checks steps as possible (#57572)

Commit
3 years ago
Always run as many quick-checks steps as possible (#57572) Summary: This is essentially a continuation of https://github.com/pytorch/pytorch/issues/56700. Currently, some of the steps in **Lint / quick-checks** (such as the trailing newlines check) still don't always run if an earlier steps fail; example: https://github.com/pytorch/pytorch/runs/2504623867 This PR adds some more `if`s to remaining steps, so that they, too, can still run even when earlier steps fail. Pull Request resolved: https://github.com/pytorch/pytorch/pull/57572 Test Plan: - https://github.com/pytorch/pytorch/runs/2504706736 before this PR, many steps get skipped if an early step fails - https://github.com/pytorch/pytorch/runs/2504778437 using this PR's technique, those steps still run - https://github.com/pytorch/pytorch/runs/2504787234 if the requirements step doesn't run, steps still get skipped - https://github.com/pytorch/pytorch/runs/2504796695 after this PR, `quick-checks` still succeeds Reviewed By: driazati Differential Revision: D28205900 Pulled By: samestep fbshipit-source-id: bea856e15bdd17ee66e9ebba019ce91133b17bcd
Author
Parents
Loading