From 73392d86c515761ff2c2a82d613278d1a8320ec9 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 9 Sep 2023 12:57:23 +0530 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 09979106090..e2b19eba451 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - operating-system: [windows-latest] + 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'] steps: - name: Install PHP @@ -20,6 +20,8 @@ jobs: - 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');"