Skip to content

Commit

Permalink
Separate latest pipeline on master
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Zamroni <[email protected]>
  • Loading branch information
matriphe committed Mar 17, 2024
1 parent 9745497 commit cbbf0e4
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest ]
php-versions: [ '8.2', '8.3' ] # PHP minimum support for Laravel 11
laravel-versions: [ '^10.0', '^11.0' ]
php-versions: [ '8.2', '8.3' ]
laravel-versions: [ '^11.0' ]
steps:
- uses: matriphe/laravel-pkg-test-action@v2
with:
Expand All @@ -33,6 +33,33 @@ jobs:
run: php vendor/bin/testbench larinfo


version-4-1:
name: Latest version Laravel ${{ matrix.laravel-versions }} PHP ${{ matrix.php-versions }} ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest ]
php-versions: [ '8.1', '8.2', '8.3' ]
laravel-versions: [ '^10.0' ]
steps:
- uses: matriphe/laravel-pkg-test-action@v2
with:
operating_system: ${{ matrix.operating-system }}
php_version: ${{ matrix.php-versions }}
laravel_version: ${{ matrix.laravel-versions }}
phpunit_args: --group unit
laravel_install_args: --prefer-dist --no-progress --no-suggest --optimize-autoloader --no-plugins
package_install_args: --prefer-dist --no-progress --no-suggest --optimize-autoloader --no-plugins
branch: 4.1.0

- name: Run Ubuntu Tests
run: vendor/bin/phpunit --group ubuntu

- name: Run Larinfo Command
run: php vendor/bin/testbench larinfo


# Note for PHP 8.0.
# For PHP 8.0, we need to force Laravel to use Symfony 6.0 instead of 6.1. Because some syntax support is missing.
#
Expand Down

0 comments on commit cbbf0e4

Please sign in to comment.