Skip to content

Commit 5f44ad4

Browse files
committed
Use PHP extensions
1 parent de89f31 commit 5f44ad4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/php.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: shivammathur/setup-php@v2
2222
with:
2323
php-version: ${{ matrix.php }}
24+
extensions: bcmath, simplexml, libxml, curl, json
2425
coverage: pcov
2526

2627
- name: PHP ${{ matrix.php }} - Validate composer.json and composer.lock
@@ -42,9 +43,13 @@ jobs:
4243
- name: PHP ${{ matrix.php }} - Run coverage test suite
4344
env:
4445
apiKey: ${{ secrets.STEAM_API_KEY }}
45-
run: composer run-script coverage
46+
run: composer run-script test
4647

47-
- name: PHP ${{ matrix.php }} - Publish Coverage
48+
- name: Publish Coverage
49+
if: matrix.php == '8.0'
4850
uses: paambaati/codeclimate-action@v2.7.5
4951
env:
52+
apiKey: ${{ secrets.STEAM_API_KEY }}
5053
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
54+
with:
55+
coverageCommand: composer run-script coverage

0 commit comments

Comments
 (0)