Skip to content

Commit e40abdf

Browse files
[1.x] Adds tests against "openswoole" (#420)
* Tests against open-swoole * Fixes openswoole package name * Continues on error on swoole * Makes tests in a single file * wip * Update tests.yml * Update tests.yml * Update tests.yml * Update tests.yml * Update tests.yml Co-authored-by: Dries Vints <[email protected]>
1 parent fd9e996 commit e40abdf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ jobs:
1515
matrix:
1616
php: [8.0, 8.1]
1717
laravel: [^8.35]
18+
driver: [swoole, openswoole]
1819

19-
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
20+
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.driver }}
2021

2122
steps:
2223
- name: Checkout code
@@ -26,7 +27,7 @@ jobs:
2627
uses: shivammathur/setup-php@v2
2728
with:
2829
php-version: ${{ matrix.php }}
29-
extensions: dom, curl, libxml, mbstring, zip, swoole
30+
extensions: dom, curl, libxml, mbstring, zip, ${{ matrix.driver }}
3031
tools: composer:v2
3132
coverage: none
3233

@@ -37,3 +38,4 @@ jobs:
3738
3839
- name: Execute tests
3940
run: vendor/bin/phpunit --verbose
41+
continue-on-error: ${{ matrix.php > 8 && matrix.driver == 'swoole' }}

0 commit comments

Comments
 (0)