Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur authored May 27, 2024
1 parent 197806c commit 8212847
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,14 @@ jobs:
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
operating-system: [ubuntu-latest]
php-versions: ['8.3']
steps:
- name: Install PHP
uses: shivammathur/setup-php@v2
- name: Setup PHP
uses: shivammathur/setup-php@verbose
with:
php-version: ${{ matrix.php-versions }}
extensions: sqlsrv, pdo_sqlsrv

- name: Testing PHP version
run: php -v

- name: Testing Extensions
run: |
php -r "if(! extension_loaded('sqlsrv')) {throw new Exception('sqlsrv not found');}"
php -r "if(! extension_loaded('pdo_sqlsrv')) {throw new Exception('pdo_sqlsrv not found');}"
php -r "echo phpversion('sqlsrv');"
echo ''
php -r "echo phpversion('pdo_sqlsrv');"
php-version: 8.3
extensions: mbstring, bcmath, redis, swoole, event, sockets
coverage: xdebug
env:
EVENT_LIBS: libev-dev

0 comments on commit 8212847

Please sign in to comment.