Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Simplify workaround that overrides Jest clone folder on Azure Pipelines #8413
This simplifies the Azure Pipelines-specific workaround that overrides the folder Jest gets cloned into during a CI build. See azure-pipelines-steps.yml (line 22).
Why this change? There is now a property on the "checkout" step that makes it easy to set the target directory of "git clone". This avoids the need for a separate step that copies the source to a different folder. This also simplifies the YAML.
Here's why this workaround was (and still is) necessary:
Since this is an Azure Pipelines specific change, there is no impact to the functionality of Jest or existing tests. Just need to ensure the "Git checkout" step shows cloning into a "jest" folder and all tests pass correctly on Windows, Linux, and macOS.
@@ Coverage Diff @@ ## master #8413 +/- ## ========================================== + Coverage 62.32% 62.34% +0.02% ========================================== Files 266 266 Lines 10733 10734 +1 Branches 2615 2610 -5 ========================================== + Hits 6689 6692 +3 + Misses 3461 3460 -1 + Partials 583 582 -1