-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,589 changed files
with
91,724 additions
and
114,032 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
# | ||
# Steps for building and testing Jest. See jobs defined in .azure-pipelines.yml | ||
# | ||
# | ||
|
||
# Clones the repo | ||
steps: | ||
- checkout: self | ||
- checkout: self | ||
|
||
# Ensure Node.js 10 is active | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Use Node.js 10' | ||
# Ensure Node.js 10 is active | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Use Node.js 10' | ||
|
||
# Ensure Python 2.7 is active | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '2.7' | ||
displayName: 'Use Python 2.7' | ||
# Ensure Python 2.7 is active | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '2.7' | ||
displayName: 'Use Python 2.7' | ||
|
||
# Workaround to move source files under a "jest" folder (see .azure-pipelines.yml for details) | ||
- script: | | ||
cd / | ||
mv $(Build.Repository.LocalPath) $(JEST_DIR) | ||
mkdir $(Build.Repository.LocalPath) | ||
displayName: 'Move source into jest folder' | ||
# Workaround to move source files under a "jest" folder (see .azure-pipelines.yml for details) | ||
- script: | | ||
cd / | ||
mv $(Build.Repository.LocalPath) $(JEST_DIR) | ||
mkdir $(Build.Repository.LocalPath) | ||
displayName: 'Move source into jest folder' | ||
# Run yarn to install dependencies and build | ||
- script: yarn | ||
workingDirectory: $(JEST_DIR) | ||
displayName: 'Install dependencies and build' | ||
# Run yarn to install dependencies and build | ||
- script: yarn --frozen-lockfile | ||
workingDirectory: $(JEST_DIR) | ||
displayName: 'Install dependencies and build' | ||
|
||
# Run test-ci-partial | ||
- script: yarn run test-ci-partial | ||
workingDirectory: $(JEST_DIR) | ||
displayName: 'Run tests' | ||
# Run test-ci-partial | ||
- script: yarn run test-ci-partial | ||
workingDirectory: $(JEST_DIR) | ||
displayName: 'Run tests' | ||
|
||
# Publish CI test results | ||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFiles: '**/reports/junit/*.xml' | ||
searchFolder: $(JEST_DIR) | ||
testRunTitle: 'CI Tests $(Agent.OS)' | ||
displayName: 'Publish test results' | ||
condition: succeededOrFailed() | ||
# Publish CI test results | ||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFiles: '**/reports/junit/*.xml' | ||
searchFolder: $(JEST_DIR) | ||
testRunTitle: 'CI Tests $(Agent.OS)' | ||
displayName: 'Publish test results' | ||
condition: succeededOrFailed() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,8 @@ | |
/website/translated_docs | ||
/website/i18n/* | ||
|
||
/reports/* | ||
|
||
coverage | ||
lerna-debug.log | ||
npm-debug.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.