Skip to content

Commit f0de8fd

Browse files
committed
API-562: fix the right Jenkinfiles to handle integration tests of PIM 2.1
1 parent fb2361d commit f0de8fd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.ci/Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,9 @@ def runPim2IntegrationTest(String phpVersion, String client, String psrImplem, S
385385
def files = []
386386

387387
// Find and store PHP test integration files to launch them in parallels
388+
if ("2.1" == pimVersion) {
389+
files += sh (returnStdout: true, script: 'find /home/jenkins/php-api-client/tests/v2_1/Api -name "*Integration.php"').tokenize('\n')
390+
}
388391
files += sh (returnStdout: true, script: 'find /home/jenkins/php-api-client/tests/v2_0/Api -name "*Integration.php"').tokenize('\n')
389392
files += sh (returnStdout: true, script: 'find /home/jenkins/php-api-client/tests/Common/Api -name "*Integration.php"').tokenize('\n')
390393
for (file in files) {

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<directory suffix="Integration.php">tests/v2_0/Api/*</directory>
2626
</testsuite>
2727

28-
<testsuite name="PHP_Client_Unit_Test_2_1">
28+
<testsuite name="PHP_Client_Test_2_1">
2929
<directory suffix="Integration.php">tests/Common/Api/*</directory>
3030
<directory suffix="Integration.php">tests/v2_0/Api/*</directory>
3131
<directory suffix="Integration.php">tests/v2_1/Api/*</directory>

0 commit comments

Comments
 (0)