1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:34:03 +00:00

removed extensions config and php version from matrix

This commit is contained in:
Abrar Ahmad 2022-08-09 15:10:02 +05:00
parent 84b142bcba
commit 3640d095f8

View file

@ -14,7 +14,6 @@ jobs:
strategy: strategy:
matrix: matrix:
php: ['8.1']
laravel: ['^8.0', '^9.0'] laravel: ['^8.0', '^9.0']
services: services:
@ -70,8 +69,7 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php }} php-version: 8.1
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, sqlsrv, pdo_sqlsrv, redis, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: pcov coverage: pcov
- name: Get composer cache directory - name: Get composer cache directory
@ -82,13 +80,12 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ${{ steps.composer-cache.outputs.dir }} path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }}-${{ hashFiles('**/composer.lock') }} key: ${{ runner.os }}-${{ matrix.laravel }}-${{ hashFiles('**/composer.lock') }}
- name: Install Composer dependencies - name: Install Composer dependencies
run: | run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction composer update --prefer-dist --no-interaction
- name: Run tests - name: Run tests
run: ./vendor/bin/pest run: ./vendor/bin/pest
env: env: