Skip to content

Commit d8e6ee1

Browse files
committed
Test
1 parent fc0c1a8 commit d8e6ee1

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/nightly.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function (): iterable {
133133
$pid = pcntl_fork();
134134
if ($pid) {
135135
$parentPids[$pid] = true;
136-
if (count($parentPids) > $parallel) {
136+
if (count($parentPids) >= $parallel) {
137137
$waitOne();
138138
}
139139
continue;
@@ -171,7 +171,7 @@ function (): iterable {
171171
["pipe", "r"],
172172
["file", sys_get_temp_dir()."/out_{$dir}_$idx.txt", "a"],
173173
["file", sys_get_temp_dir()."/out_{$dir}_$idx.txt", "a"]
174-
], $pipes);
174+
], $pipes, sys_get_temp_dir()."/$dir");
175175
if ($p === false) {
176176
printMutex("Failure starting $cmdStr");
177177
exit(1);

.github/workflows/push.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ jobs:
123123
- name: Setup
124124
if: ${{ !matrix.asan }}
125125
uses: ./.github/actions/setup-x64
126+
127+
- name: Test multiple libraries and frameworks in parallel
128+
run: |
129+
export ASAN_OPTIONS=exitcode=139
130+
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
131+
export PHPSECLIB_ALLOW_JIT=1
132+
133+
php $GITHUB_WORKSPACE/.github/nightly.php || exit $?
134+
126135
- name: Test
127136
if: matrix.asan == false
128137
uses: ./.github/actions/test-linux

0 commit comments

Comments
 (0)