com php-src: Add a run with opcache to the coverage job: azure-pipelines.yml azure/coverage_job.yml
| From: | Nikita Popov | Date: | Tue, 22 Oct 2019 09:12:39 +0000 |
| Subject: | com php-src: Add a run with opcache to the coverage job: azure-pipelines.yml azure/coverage_job.yml | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108999@lists.php.net to get a copy of this message | ||
Commit: 6422c956337bed1e22403da4dd79c713ecfe6bc6
Author: Fabien Villepinte <fabien.villepinte@gmail.com> Mon, 21 Oct 2019 21:48:33
+0200
Committer: Nikita Popov <nikita.ppv@gmail.com> Tue, 22 Oct 2019 11:12:39 +0200
Parents: c9df44cab424034e4858d5fb2ead0f8bfbc87561
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6422c956337bed1e22403da4dd79c713ecfe6bc6
Log:
Add a run with opcache to the coverage job
Some tests are not run when OPcache is not available.
This should make the results more accurate.
Changed paths:
M azure-pipelines.yml
M azure/coverage_job.yml
Diff:
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 83925636f93..688d36c1485 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -86,3 +86,4 @@ jobs:
parameters:
configurationName: COVERAGE_DEBUG_ZTS
configurationParameters: '--enable-debug --disable-maintainer-zts'
+ timeoutInMinutes: 90
diff --git a/azure/coverage_job.yml b/azure/coverage_job.yml
index 217b5d664a3..06ac7f4ef30 100644
--- a/azure/coverage_job.yml
+++ b/azure/coverage_job.yml
@@ -29,6 +29,13 @@ jobs:
parameters:
configurationName: ${{ parameters.configurationName }}
runTestsParameters: ${{ parameters.runTestsParameters }}
+ - template: test.yml
+ parameters:
+ configurationName: ${{ parameters.configurationName }}
+ runTestsName: 'OpCache'
+ runTestsParameters: >-
+ ${{ parameters.runTestsParameters }}
+ -d zend_extension=opcache.so
- script: |
make gcovr-xml
mv gcovr.xml coverage.xml