Skip to content

Commit f598b58

Browse files
committed
Remove GitHub actions junit artifacts
Nobody looks at those, and nightly regularly fails due to uploading them. Closes GH-14555
1 parent 8d9f975 commit f598b58

File tree

5 files changed

+0
-35
lines changed

5 files changed

+0
-35
lines changed

.github/actions/test-linux/action.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Test
22
inputs:
3-
testArtifacts:
4-
default: null
5-
required: false
63
runTestsParameters:
74
default: ''
85
required: false
@@ -35,7 +32,6 @@ runs:
3532
export PDO_OCI_TEST_PASS="pass"
3633
export PDO_OCI_TEST_DSN="oci:dbname=localhost/XEPDB1;charset=AL32UTF8"
3734
export SKIP_IO_CAPTURE_TESTS=1
38-
export TEST_PHP_JUNIT=junit.out.xml
3935
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
4036
-d opcache.jit=${{ inputs.jitType }} \
4137
-d opcache.jit_buffer_size=16M \
@@ -46,9 +42,3 @@ runs:
4642
--show-diff \
4743
--show-slow 1000 \
4844
--set-timeout 120
49-
- uses: actions/upload-artifact@v4
50-
if: always() && inputs.testArtifacts != null
51-
with:
52-
name: ${{ github.job }}_${{ inputs.testArtifacts }}
53-
path: ${{ github.workspace }}/junit.out.xml
54-
retention-days: 5

.github/actions/test-macos/action.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Test
22
inputs:
3-
testArtifacts:
4-
default: null
5-
required: false
63
runTestsParameters:
74
default: ''
85
required: false
@@ -17,7 +14,6 @@ runs:
1714
set -x
1815
export SKIP_IO_CAPTURE_TESTS=1
1916
export CI_NO_IPV6=1
20-
export TEST_PHP_JUNIT=junit.out.xml
2117
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
2218
-d opcache.jit=${{ inputs.jitType }} \
2319
-d opcache.jit_buffer_size=16M \
@@ -28,9 +24,3 @@ runs:
2824
--show-diff \
2925
--show-slow 1000 \
3026
--set-timeout 120
31-
- uses: actions/upload-artifact@v4
32-
if: always() && inputs.testArtifacts != null
33-
with:
34-
name: ${{ github.job }}_${{ inputs.testArtifacts }}
35-
path: ${{ github.workspace }}/junit.out.xml
36-
retention-days: 5

.github/scripts/windows/test_task.bat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ set TEST_PHPDBG_EXECUTABLE=%PHP_BUILD_DIR%\phpdbg.exe
133133

134134
mkdir c:\tests_tmp
135135

136-
set TEST_PHP_JUNIT=c:\junit.out.xml
137-
138136
nmake test TESTS="%OPCACHE_OPTS% -g FAIL,BORK,LEAK,XLEAK --no-progress -q --offline --show-diff --show-slow 1000 --set-timeout 120 --temp-source c:\tests_tmp --temp-target c:\tests_tmp --bless %PARALLEL%"
139137

140138
set EXIT_CODE=%errorlevel%

.github/workflows/nightly.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,12 @@ jobs:
7979
- name: Test
8080
uses: ./.github/actions/test-linux
8181
with:
82-
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
8382
runTestsParameters: >-
8483
${{ matrix.run_tests_parameters }}
8584
idleCpu: ${{ matrix.asan && 'true' || 'false' }}
8685
- name: Test Tracing JIT
8786
uses: ./.github/actions/test-linux
8887
with:
89-
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
9088
jitType: tracing
9189
runTestsParameters: >-
9290
${{ matrix.run_tests_parameters }}
@@ -95,7 +93,6 @@ jobs:
9593
- name: Test OpCache
9694
uses: ./.github/actions/test-linux
9795
with:
98-
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} OpCache
9996
runTestsParameters: >-
10097
${{ matrix.run_tests_parameters }}
10198
-d zend_extension=opcache.so
@@ -106,7 +103,6 @@ jobs:
106103
if: matrix.test_function_jit
107104
uses: ./.github/actions/test-linux
108105
with:
109-
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT
110106
jitType: function
111107
runTestsParameters: >-
112108
${{ matrix.run_tests_parameters }}
@@ -226,12 +222,9 @@ jobs:
226222
run: sudo make install
227223
- name: Test
228224
uses: ./.github/actions/test-macos
229-
with:
230-
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
231225
- name: Test Tracing JIT
232226
uses: ./.github/actions/test-macos
233227
with:
234-
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
235228
jitType: tracing
236229
runTestsParameters: >-
237230
-d zend_extension=opcache.so
@@ -240,15 +233,13 @@ jobs:
240233
- name: Test OpCache
241234
uses: ./.github/actions/test-macos
242235
with:
243-
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} OpCache
244236
runTestsParameters: >-
245237
-d zend_extension=opcache.so
246238
-d opcache.enable_cli=1
247239
-d opcache.protect_memory=1
248240
- name: Test Function JIT
249241
uses: ./.github/actions/test-macos
250242
with:
251-
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT
252243
jitType: function
253244
runTestsParameters: >-
254245
-d zend_extension=opcache.so

.github/workflows/push.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,9 @@ jobs:
8787
uses: ./.github/actions/setup-x64
8888
- name: Test
8989
uses: ./.github/actions/test-linux
90-
with:
91-
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
9290
- name: Test Tracing JIT
9391
uses: ./.github/actions/test-linux
9492
with:
95-
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
9693
jitType: tracing
9794
runTestsParameters: >-
9895
-d zend_extension=opcache.so
@@ -170,7 +167,6 @@ jobs:
170167
- name: Test Tracing JIT
171168
uses: ./.github/actions/test-macos
172169
with:
173-
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
174170
jitType: tracing
175171
runTestsParameters: >-
176172
-d zend_extension=opcache.so

0 commit comments

Comments
 (0)