-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from cloudinary-community/fix/tests
fix: tests
- Loading branch information
Showing
13 changed files
with
2,068 additions
and
2,381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: true | ||
matrix: | ||
php: [8.3] | ||
|
||
name: PHP ${{ matrix.php }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: sqlite, pdo_sqlite | ||
tools: composer:v2 | ||
coverage: none | ||
|
||
- name: Install dependencies | ||
run: composer install --no-interaction --prefer-dist --optimize-autoloader | ||
|
||
- name: Execute tests | ||
run: vendor/bin/pest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,64 @@ | ||
{ | ||
"name": "cloudinary-labs/cloudinary-laravel", | ||
"description": "A Laravel Cloudinary Package", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Prosper Otemuyiwa", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/unicodeveloper" | ||
} | ||
], | ||
"homepage": "https://github.com/cloudinary-labs/cloudinary-laravel", | ||
"keywords": [ | ||
"Laravel", | ||
"cloudinary-laravel", | ||
"File Uploads", | ||
"Media Management", | ||
"Cloudinary", | ||
"File Transformations" | ||
], | ||
"require": { | ||
"php": ">=7.2", | ||
"illuminate/support": "~6|~7|~8|^9.0|^10.0|^11.0", | ||
"cloudinary/cloudinary_php": "^2.0", | ||
"ext-json": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.0|^9.5.10|^10.0|^11.0", | ||
"mockery/mockery": "^1.1", | ||
"orchestra/testbench": "~4|~5|~6|^7.0|^8.0|^9.0", | ||
"sempro/phpunit-pretty-print": "^1.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"CloudinaryLabs\\CloudinaryLaravel\\": "src/" | ||
}, | ||
"files": [ | ||
"src/Support/helpers.php" | ||
] | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"CloudinaryLabs\\CloudinaryLaravel\\Tests\\": "tests" | ||
} | ||
"name": "cloudinary-labs/cloudinary-laravel", | ||
"description": "A Laravel Cloudinary Package", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Prosper Otemuyiwa", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/unicodeveloper" | ||
} | ||
], | ||
"homepage": "https://github.com/cloudinary-labs/cloudinary-laravel", | ||
"keywords": [ | ||
"Laravel", | ||
"cloudinary-laravel", | ||
"File Uploads", | ||
"Media Management", | ||
"Cloudinary", | ||
"File Transformations" | ||
], | ||
"scripts": { | ||
"test": "pest" | ||
}, | ||
"require": { | ||
"php": ">=7.2", | ||
"illuminate/support": "~6|~7|~8|^9.0", | ||
"cloudinary/cloudinary_php": "^2.0", | ||
"ext-json": "*" | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "^1.1", | ||
"orchestra/testbench": "~4|~5|~6", | ||
"sempro/phpunit-pretty-print": "^1.0", | ||
"pestphp/pest": "^1.23" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"CloudinaryLabs\\CloudinaryLaravel\\": "src/" | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"CloudinaryLabs\\CloudinaryLaravel\\CloudinaryServiceProvider" | ||
], | ||
"aliases": { | ||
"Cloudinary": "CloudinaryLabs\\CloudinaryLaravel\\Facades\\Cloudinary" | ||
} | ||
} | ||
"files": [ | ||
"src/Support/helpers.php" | ||
] | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests" | ||
} | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"CloudinaryLabs\\CloudinaryLaravel\\CloudinaryServiceProvider" | ||
], | ||
"aliases": { | ||
"Cloudinary": "CloudinaryLabs\\CloudinaryLaravel\\Facades\\Cloudinary" | ||
} | ||
} | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"pestphp/pest-plugin": true | ||
} | ||
} | ||
} |
Oops, something went wrong.