mirror of
https://github.com/pestphp/pest.git
synced 2026-12-04 23:15:06 +01:00
fix(tia): skip locally() when the process is on CI (#1999)
* fix(tia): skip locally() when the process is on CI locally() only looked at --ci, so a CI job that followed the docs and ran plain pest replayed cached results. Fixes #1970 * test(tia): clear CI variables so the local assertion passes on CI * test: update snapshots for TIA CI detection --------- Co-authored-by: Tiago Santos <tsantos@lynixt.pt> Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ final class Ci
|
||||
/**
|
||||
* @var list<string>
|
||||
*/
|
||||
private const array ENVIRONMENT_VARIABLES = [
|
||||
public const array ENVIRONMENT_VARIABLES = [
|
||||
'CI',
|
||||
'GITHUB_ACTIONS',
|
||||
'GITLAB_CI',
|
||||
|
||||
Reference in New Issue
Block a user