Skip to content

Commit 244f22b

Browse files
committed
Extract phpseclib tests
1 parent 98de50a commit 244f22b

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/nightly.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,6 @@ function (): iterable {
104104
2
105105
];
106106

107-
$repos["phpseclib"] = [
108-
"https://github.com/phpseclib/phpseclib",
109-
"",
110-
null,
111-
["vendor/bin/paratest", "--verbose", "--configuration=tests/phpunit.xml", "--runner=WrapperRunner"],
112-
1
113-
];
114-
115107
$finalStatus = 0;
116108
$parentPids = [];
117109

.github/workflows/nightly.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,17 @@ jobs:
391391
392392
php $GITHUB_WORKSPACE/.github/nightly.php || exit $?
393393
394+
- name: Test PHPSeclib
395+
if: always()
396+
run: |
397+
git clone https://github.com/phpseclib/phpseclib --branch=master
398+
cd phpseclib
399+
git checkout 259bd9f1e8af11726ed74acf527c2c046549061b
400+
export ASAN_OPTIONS=exitcode=139
401+
export PHPSECLIB_ALLOW_JIT=1
402+
php /usr/bin/composer install --no-progress --ignore-platform-reqs
403+
php $GITHUB_WORKSPACE/.github/patch.php vendor/bin/paratest --verbose --configuration=tests/phpunit.xml --runner=WrapperRunner || exit $?
404+
394405
- name: Test Psalm
395406
if: matrix.branch.ref != 'PHP-8.0'
396407
run: |

0 commit comments

Comments
 (0)