]> granicus.if.org Git - php/commitdiff
Add a run with opcache to the coverage job
authorFabien Villepinte <fabien.villepinte@gmail.com>
Mon, 21 Oct 2019 19:48:33 +0000 (21:48 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Oct 2019 09:12:39 +0000 (11:12 +0200)
Some tests are not run when OPcache is not available.
This should make the results more accurate.

azure-pipelines.yml
azure/coverage_job.yml

index 83925636f9314c91846de0b2869c1e188dce1242..688d36c148545fecdcceaec789d06ae5d0f82878 100644 (file)
@@ -86,3 +86,4 @@ jobs:
       parameters:
         configurationName: COVERAGE_DEBUG_ZTS
         configurationParameters: '--enable-debug --disable-maintainer-zts'
+        timeoutInMinutes: 90
index 217b5d664a3e357cea3b7c0415b62c71a7937d30..06ac7f4ef30beef8b55e7f004678fdb2540cc97c 100644 (file)
@@ -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