Skip to content

Laravel Package Test Action

Actions
GitHub Action to test Laravel package and library compatibility using PHPUnit
2.3.1
Latest
Star (0)

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.

Laravel Package Test Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action to test Laravel package and library compatibility using PHPUnit
2.3.1
Latest

Laravel Package Test Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.