mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: generate testIds on CIs only (#4817)
This commit is contained in:
parent
656fe46047
commit
c047624b68
@ -165,9 +165,9 @@ const utils = module.exports = {
|
||||
// Generate testIDs for all tests and verify they don't clash.
|
||||
// This will add |test.testId| for every test.
|
||||
//
|
||||
// NOTE: we do this unconditionally so that developers can see problems in
|
||||
// their local setups.
|
||||
generateTestIDs(testRunner);
|
||||
// NOTE: we do this on CI's so that problems arise on PR trybots.
|
||||
if (process.env.CI)
|
||||
generateTestIDs(testRunner);
|
||||
// FLAKINESS_DASHBOARD_PASSWORD is an encrypted/secured variable.
|
||||
// Encrypted variables get a special treatment in CI's when handling PRs so that
|
||||
// secrets are not leaked to untrusted code.
|
||||
|
Loading…
Reference in New Issue
Block a user