From 6422c956337bed1e22403da4dd79c713ecfe6bc6 Mon Sep 17 00:00:00 2001 From: Fabien Villepinte Date: Mon, 21 Oct 2019 21:48:33 +0200 Subject: 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. --- azure-pipelines.yml | 1 + azure/coverage_job.yml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 83925636f9..688d36c148 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 217b5d664a..06ac7f4ef3 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 -- cgit v1.2.1