ci: run tests on WOA hardware (#20031)
* ci: run tests on WOA hardware * Temporarily disable test until #20008 is resolved * deterministically run tests in sorted order
This commit is contained in:
parent
96c3fec855
commit
bedc5f7da9
8 changed files with 40 additions and 25 deletions
|
@ -78,14 +78,17 @@ app.whenReady().then(() => {
|
|||
? new RegExp(process.env.npm_config_match, 'g')
|
||||
: null
|
||||
|
||||
const testFiles = []
|
||||
walker.on('file', (file) => {
|
||||
if (/-spec\.[tj]s$/.test(file) &&
|
||||
(!moduleMatch || moduleMatch.test(file))) {
|
||||
mocha.addFile(file)
|
||||
testFiles.push(file)
|
||||
}
|
||||
})
|
||||
|
||||
walker.on('end', () => {
|
||||
testFiles.sort()
|
||||
testFiles.forEach((file) => mocha.addFile(file))
|
||||
const cb = () => {
|
||||
// Ensure the callback is called after runner is defined
|
||||
process.nextTick(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue