From 16354fb43337ff2f867934d0822cfd8ab8a6f624 Mon Sep 17 00:00:00 2001 From: devansh bawari Date: Wed, 31 Mar 2021 11:06:46 +0530 Subject: [PATCH] Test Case Workflow Added For PHP 8 --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69d34fba0..b18ca94a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,12 @@ on: [push, pull_request] jobs: tests: name: Run tests - runs-on: ubuntu-latest + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: [ubuntu-latest] + php-versions: ['7.2', '8.0'] + name: PHP ${{ matrix.php-versions }} test on ${{ matrix.operating-system }} services: mysql: @@ -26,7 +31,7 @@ jobs: - name: Setup php uses: shivammathur/setup-php@v2 with: - php-version: '7.3' + php-version: ${{ matrix.php-versions }} extensions: curl, gd, intl, mbstring, openssl, pdo, pdo_mysql, tokenizer, zip - name: Set environment