ci: use TEST_IGNORE_SERVICES variable for ignoring services

This commit is contained in:
jj
2025-02-18 09:12:55 +00:00
parent b540e48ffb
commit a52aee2bb3
2 changed files with 2 additions and 2 deletions

View File

@ -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']
);