Skip to content

matriphe/laravel-pkg-test-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Laravel Package Test Action

GitHub Action to test Laravel package and library compatibility using PHPUnit.

Usage

This action will automatically check out your code.

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.

About

GitHub Action to test Laravel package and library compatibility using PHPUnit

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published