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.
This commit is contained in:
Fabien Villepinte 2019-10-21 21:48:33 +02:00 committed by Nikita Popov
parent c9df44cab4
commit 6422c95633
2 changed files with 8 additions and 0 deletions

View File

@ -86,3 +86,4 @@ jobs:
parameters:
configurationName: COVERAGE_DEBUG_ZTS
configurationParameters: '--enable-debug --disable-maintainer-zts'
timeoutInMinutes: 90

View 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