Skip to content

Commit 29bd5b1

Browse files
authored
fix(ci): disable default extensions (web-push-libs#385)
test against an additional extension
1 parent 731998b commit 29bd5b1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,22 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
php: ['8.1', '8.2', '8.3']
21-
ext: ['curl, mbstring, openssl', 'curl, mbstring, openssl, gmp']
20+
php: [ '8.1', '8.2', '8.3' ]
21+
ext_base: [ 'none, dom, tokenizer, xml, xmlwriter,' ]
22+
ext_lib: [ 'curl, mbstring, openssl,' ]
23+
ext_optional: [ '', 'bcmath', 'gmp' ]
2224

23-
name: PHP ${{ matrix.php }} (${{ matrix.ext }})
25+
name: PHP ${{ matrix.php }} (${{ matrix.ext_optional }})
2426

2527
steps:
2628
- name: Checkout repository
2729
uses: actions/checkout@v4
2830

29-
- name: Setup PHP ${{ matrix.php }} (${{ matrix.ext }})
31+
- name: Setup PHP ${{ matrix.php }} (${{ matrix.ext_optional }})
3032
uses: shivammathur/setup-php@v2
3133
with:
3234
php-version: ${{ matrix.php }}
33-
extensions: ${{ matrix.ext }}
35+
extensions: ${{ matrix.ext_base }}${{ matrix.ext_lib }}${{ matrix.ext_optional }}
3436
coverage: none
3537

3638
- name: Get composer cache directory

0 commit comments

Comments
 (0)