-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up CI with Azure Pipelines #6495
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
b631120
Set up CI with Azure Pipelines
arcanis 7f05fe3
Update azure-pipelines.yml
arcanis a1f0994
Update azure-pipelines.yml
arcanis 573c9e7
Update package.json
arcanis 0d801d0
Adds debug
3e168d7
Tries using bash
808eb7e
Tweaks timeouts
95eb3d7
Fixes various things related to the win32 compat
arcanis b95bbc0
I get the same 22 failed tests with/without the delay.
ea5810e
Fix makeFakeBinary for win32.
6830dd3
Check custom output instead of versions.
3a0c614
Remove quotes from echo (not removed in Windows).
c743366
Some tweaks
2c6949f
Fixes syntax
2312b35
Merge remote-tracking branch 'upstream/master' into azure-pipelines
596e8c1
Fixes tests on Windows
7c5a6be
Adds test reporting
c5dfc47
Fixes things (?)
9273271
Fixes indent
0c17392
Always run the test result publishing
420f74f
Fixes yml
6b2b594
Use node scripts to avoid Windows interoperability issues.
b7cf111
Fixes the "must use the same Node as Yarn itself" test
15bc762
Fixes escaping from within the tests
arcanis fbe8ced
Removes the accidental .only flag
arcanis 0c4bd14
Fixes a test on Windows
arcanis 3c1a97e
Add support for different drives in Windows.
990f43a
No need to getPackageLocation
9cf85d6
Add support for environment and arguments by using a custom solution …
1bbee27
Merge remote-tracking branch 'origin/master' into azure-pipelines
1d9ea16
Missing escape on path in pnpapi test.
adf5a2b
Some cleaning
arcanis a2dabc9
Runs tests on all three platforms
arcanis e786a9b
Fixes write paths
arcanis f96f54f
Fixes normalizePath
arcanis 8f72462
Disables pkg-tests from CircleCI (moved to Azure)
arcanis 3a8e9e5
Increase Windows timeouts and better name Test results (#6680)
pablonete 649ae72
Revert "Disables pkg-tests from CircleCI (moved to Azure)"
arcanis File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
jobs: | ||
|
||
- job: Windows | ||
pool: 'Hosted VS2017' | ||
|
||
variables: | ||
os_name: Windows | ||
|
||
strategy: | ||
matrix: | ||
node_8_x: | ||
node_version: 8.x | ||
node_10_x: | ||
node_version: 10.x | ||
|
||
steps: | ||
- template: scripts/azure-run-tests.yml | ||
|
||
- job: Linux | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
|
||
variables: | ||
os_name: Linux | ||
|
||
strategy: | ||
matrix: | ||
node_8_x: | ||
node_version: 8.x | ||
node_10_x: | ||
node_version: 10.x | ||
|
||
steps: | ||
- template: scripts/azure-run-tests.yml | ||
|
||
- job: OSX | ||
pool: | ||
vmImage: 'macOS 10.13' | ||
|
||
variables: | ||
os_name: OSX | ||
|
||
strategy: | ||
matrix: | ||
node_8_x: | ||
node_version: 8.x | ||
node_10_x: | ||
node_version: 10.x | ||
|
||
steps: | ||
- template: scripts/azure-run-tests.yml |
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,2 +1,3 @@ | ||
node_modules | ||
yarn-error.log | ||
junit.xml |
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
3 changes: 3 additions & 0 deletions
3
packages/pkg-tests/pkg-tests-fixtures/packages/no-deps-scripted-1.0.0/scripts/install.js
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const fs = require(`fs`); | ||
|
||
fs.appendFileSync(`${__dirname}/../log.js`, `module.exports.push('install');`); |
4 changes: 4 additions & 0 deletions
4
packages/pkg-tests/pkg-tests-fixtures/packages/no-deps-scripted-1.0.0/scripts/postinstall.js
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
const fs = require(`fs`); | ||
|
||
fs.appendFileSync(`${__dirname}/../log.js`, `module.exports.push('postinstall');`); | ||
fs.appendFileSync(`${__dirname}/../rnd.js`, `module.exports = ${Math.floor(Math.random() * 512000)};`); |
3 changes: 3 additions & 0 deletions
3
packages/pkg-tests/pkg-tests-fixtures/packages/no-deps-scripted-1.0.0/scripts/preinstall.js
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const fs = require(`fs`); | ||
|
||
fs.appendFileSync(`${__dirname}/../log.js`, `module.exports.push('preinstall');`); |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☝️ no need for explicit template string use above.