Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matriphe/laravel-pkg-test-action
GitHub Action to test Laravel package and library compatibility using PHPUnit
https://github.com/matriphe/laravel-pkg-test-action
hacktoberfest laravel phpunit testing
Last synced: 26 days ago
JSON representation
GitHub Action to test Laravel package and library compatibility using PHPUnit
- Host: GitHub
- URL: https://github.com/matriphe/laravel-pkg-test-action
- Owner: matriphe
- License: mit
- Created: 2022-10-03T10:17:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T20:51:03.000Z (8 months ago)
- Last Synced: 2024-09-18T22:51:42.924Z (about 2 months ago)
- Topics: hacktoberfest, laravel, phpunit, testing
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Package Test Action
GitHub Action to test Laravel package and library compatibility using PHPUnit.
## Usage
This action will automatically check out your code.
```yaml
steps:
- uses: matriphe/laravel-pkg-test-action@v2
with:
operating_system: windows-2022 # The Operating System where the test runs, the default is `ubuntu-latest`
php_version: 8.3 # The PHP version where the test runs, the default is `8.2`
php_extensions: pdo_sqlite,sqlite3 # The PHP extension enabled for the test, separated by comma
laravel_version: 10.* # The Laravel framework version where the test runs, the default is `^11.0`
branch: main # The branch name, tag name, or git reference checksum to check out
laravel_install_args: --prefer-dist # The arguments passed to Composer when installing Laravel framework, the default is `--prefer-dist --no-progress --no-suggest --optimize-autoloader --no-plugins`
package_install_args: --prefer-dist --no-progress # The arguments passed to Composer when installing the package, the default is `--prefer-dist --no-progress --no-suggest --optimize-autoloader --no-plugins`
phpunit_args: --filter some_test # The arguments passed to PHPUnit when running the test
shell_name: pwsh # The shell name used to run the test, the default is `bash`
```## License
The scripts and documentation in this project are released under the [MIT License](LICENSE).