mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 01:16:15 -04:00
tests: Switch from Travis to Github Actions
Travis placed an unnecessary breaking restriction on our tests and failed to respond within 72 hours to our complaint. This has forced us to introduce Github Actions to manage our testing. This is hopefully a temporary measure while Travis either gets itself together or we find a non-Github requirement.
This commit is contained in:
parent
6665c4693f
commit
b71b606774
8 changed files with 291 additions and 1 deletions
|
@ -13,7 +13,12 @@ var allTestsPassed = true;
|
|||
// overwrite the default exit code
|
||||
// in case not all worker can be run (due to saucelabs limits), `queue.drain` below will not be called
|
||||
// and the script would silently exit with error code 0
|
||||
process.exitCode = 1;
|
||||
process.exitCode = 2;
|
||||
process.on('exit', (code) => {
|
||||
if (code === 2){
|
||||
console.log("\x1B[31mFAILED\x1B[39m Not all saucelabs runner have been started.");
|
||||
}
|
||||
})
|
||||
|
||||
var sauceTestWorker = async.queue(function (testSettings, callback) {
|
||||
var browser = wd.promiseChainRemote(config.host, config.port, config.username, config.accessKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue