Skip to content

Commit 982d8fd

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: Add test coverage job
2 parents 20638db + fa6953d commit 982d8fd

File tree

3 files changed

+31
-54
lines changed

3 files changed

+31
-54
lines changed

.github/workflows/nightly.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,34 @@ jobs:
153153
-d opcache.jit=1205
154154
- name: Verify generated files are up to date
155155
uses: ./.github/actions/verify-generated-files
156+
COVERAGE_DEBUG_NTS:
157+
runs-on: ubuntu-20.04
158+
steps:
159+
- name: git checkout
160+
uses: actions/checkout@v2
161+
- name: Create mssql container
162+
uses: ./.github/actions/mssql
163+
- name: apt
164+
uses: ./.github/actions/apt-x64
165+
- name: Install gcovr
166+
run: sudo -H pip install gcovr
167+
- name: ./configure
168+
uses: ./.github/actions/configure-x64
169+
with:
170+
configurationParameters: --enable-debug --disable-zts --enable-gcov
171+
- name: make
172+
run: make -j$(/usr/bin/nproc) >/dev/null
173+
- name: make install
174+
uses: ./.github/actions/install-linux
175+
- name: Setup
176+
uses: ./.github/actions/setup-x64
177+
# We only test with OpCache, the difference in coverage is negligible
178+
- name: Test OpCache
179+
uses: ./.github/actions/test-linux
180+
with:
181+
runTestsParameters: >-
182+
-d zend_extension=opcache.so
183+
-d opcache.enable_cli=1
184+
- name: Upload Test Coverage to Codecov.io
185+
if: always()
186+
run: bash <(curl -s https://codecov.io/bash)

azure-pipelines.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ jobs:
5151
--enable-debug --enable-zts --enable-address-sanitizer --enable-undefined-sanitizer
5252
CFLAGS='-fno-sanitize-recover'
5353
timeoutInMinutes: 90
54-
- template: azure/coverage_job.yml
55-
parameters:
56-
configurationName: COVERAGE_DEBUG_ZTS
57-
configurationParameters: '--enable-debug --disable-zts'
58-
timeoutInMinutes: 90
5954
- template: azure/opcache_variation_job.yml
6055
parameters:
6156
configurationName: DEBUG_NTS_OPCACHE

azure/coverage_job.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)