Skip to content

Commit

Permalink
GitHub Actions Workflow Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone authored Mar 13, 2024
1 parent 6fc88b3 commit 5aa8453
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
laravel: [10]
laravel: [10, 11]
stability: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Stability ${{ matrix.stability }} - MySQL 5.7
Expand All @@ -55,7 +55,7 @@ jobs:

- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
composer update --with=laravel/framework:${{ matrix.laravel }} --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
- name: Execute tests
run: vendor/bin/pest
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
fail-fast: true
matrix:
php: [8.3]
laravel: [10]
laravel: [10, 11]
stability: [prefer-stable]

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Stability ${{ matrix.stability }} - MariaDB 10.5
Expand All @@ -108,7 +108,7 @@ jobs:

- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
composer update --with=laravel/framework:${{ matrix.laravel }} --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
- name: Execute tests
run: vendor/bin/pest
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
fail-fast: true
matrix:
php: [8.3]
laravel: [10]
laravel: [10, 11]
stability: [prefer-stable]

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Stability ${{ matrix.stability }} - PostgreSQL 14
Expand All @@ -162,8 +162,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
composer update --with=laravel/framework:${{ matrix.laravel }} --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
- name: Execute tests
run: vendor/bin/pest
Expand All @@ -185,7 +184,7 @@ jobs:
fail-fast: true
matrix:
php: [8.3]
laravel: [10]
laravel: [10, 11]
stability: [prefer-stable]

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Stability ${{ matrix.stability }} - SQLite
Expand All @@ -208,7 +207,7 @@ jobs:

- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
composer update --with=laravel/framework:${{ matrix.laravel }} --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
- name: Execute tests
run: vendor/bin/pest
Expand Down

0 comments on commit 5aa8453

Please sign in to comment.