fix the CI unit test path for legacy unit tests (#46247)

* fix the CI unit test path for legacy unit tests

* update the pattern in all the relevant CI jobs

* add the tests/unit-tests folder as well

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
This commit is contained in:
Ron Rennick 2024-04-04 17:50:45 -03:00 committed by GitHub
parent 6328ad01a5
commit 674d7a01bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: fix the CI unit test path for legacy unit tests

View File

@ -88,6 +88,7 @@
"src/**/*.php",
"templates/**/*.php",
"tests/php/**/*.php",
"tests/legacy/unit-tests/**/*.php",
"tests/unit-tests/**/*.php"
]
},
@ -103,6 +104,7 @@
"src/**/*.php",
"templates/**/*.php",
"tests/php/**/*.php",
"tests/legacy/unit-tests/**/*.php",
"tests/unit-tests/**/*.php"
],
"testEnv": {
@ -120,6 +122,7 @@
"src/**/*.php",
"templates/**/*.php",
"tests/php/**/*.php",
"tests/legacy/unit-tests/**/*.php",
"tests/unit-tests/**/*.php"
],
"testEnv": {
@ -140,6 +143,7 @@
"src/**/*.php",
"templates/**/*.php",
"tests/php/**/*.php",
"tests/legacy/unit-tests/**/*.php",
"tests/unit-tests/**/*.php"
],
"testEnv": {
@ -160,6 +164,7 @@
"src/**/*.php",
"templates/**/*.php",
"tests/php/**/*.php",
"tests/legacy/unit-tests/**/*.php",
"tests/unit-tests/**/*.php"
],
"testEnv": {
@ -188,6 +193,7 @@
"src/**/*.php",
"templates/**/*.php",
"tests/php/**/*.php",
"tests/legacy/unit-tests/**/*.php",
"tests/unit-tests/**/*.php",
"tests/e2e-pw/**"
],
@ -207,6 +213,7 @@
"src/**/*.php",
"templates/**/*.php",
"tests/php/**/*.php",
"tests/legacy/unit-tests/**/*.php",
"tests/unit-tests/**/*.php",
"tests/api-core-tests/**"
],
@ -226,7 +233,7 @@
"src/**/*.php",
"templates/**/*.php",
"tests/php/**/*.php",
"tests/unit-tests/**/*.php",
"tests/legacy/unit-tests/**/*.php",
"tests/performance/**"
],
"testEnv": {