mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
ci: use TEST_IGNORE_SERVICES variable for ignoring services
This commit is contained in:
@ -15,7 +15,7 @@ const getTests = (service) => loadJSON(getTestPath(service));
|
||||
// services that are known to frequently fail due to external
|
||||
// factors (e.g. rate limiting)
|
||||
const finnicky = new Set(
|
||||
typeof process.env.TEST_IGNORE_SERVICES === 'string'
|
||||
process.env.TEST_IGNORE_SERVICES
|
||||
? process.env.TEST_IGNORE_SERVICES.split(',')
|
||||
: ['bilibili', 'instagram', 'facebook', 'youtube', 'vk', 'twitter', 'reddit']
|
||||
);
|
||||
|
Reference in New Issue
Block a user