-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): Allow tests to run on Windows without WSL (#3813)
A few changes to make the test suite fully cross platform
- Loading branch information
Showing
7 changed files
with
44 additions
and
31 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
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,15 @@ | ||
// running compatibilty tests takes ~15 min on a 2019 2.6 GHz 6-Core Intel i7 16" MacBook Pro w 32 GB of RAM, vs ~25 sec | ||
// for the regular tests | ||
|
||
/*eslint-env node*/ | ||
const { spawnSync } = require('child_process'); | ||
|
||
if (process.env.TRAVIS || process.env.GITHUB_ACTIONS) { | ||
console.log('In CI - running tests against multiple versions of Ember'); | ||
const result = spawnSync('yarn npm-run-all lint:* test:*', { shell: true, stdio: 'inherit' }); | ||
process.exit(result.status); | ||
} else { | ||
console.log('Tests running locally - will only run tests against default version of Ember'); | ||
const result = spawnSync('yarn npm-run-all lint:* test:ember', { shell: true, stdio: 'inherit' }); | ||
process.exit(result.status); | ||
} |
This file was deleted.
Oops, something went wrong.
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