Skip to content

Commit

Permalink
ci: add composer stability matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroverts committed Feb 6, 2024
1 parent 3e71e61 commit 9f2da5c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# GitHub Action for Laravel with MySQL
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-php-mysql:
name: Test PHP ${{ matrix.php-versions }} + Node ${{ matrix.node }} with MySQL
name: Test PHP ${{ matrix.php-versions }} (${{ matrix.stability }}) + Node ${{ matrix.node }} with MySQL
runs-on: ubuntu-latest
env:
DB_DATABASE: laravel
Expand Down Expand Up @@ -37,6 +37,7 @@ jobs:
matrix:
php-versions: ["8.2", "8.3"]
node: [16, 18, 20]
stability: [prefer-lowest, prefer-stable]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -88,8 +89,9 @@ jobs:

- name: Copy/Paste Detector
run: phpcpd app/ --min-lines=50

test-php-postgresql:
name: Test PHP ${{ matrix.php-versions }} + Node ${{ matrix.node }} with PostgreSQL
name: Test PHP ${{ matrix.php-versions }} (${{ matrix.stability }}) + Node ${{ matrix.node }} with PostgreSQL
runs-on: ubuntu-latest
env:
BROADCAST_DRIVER: log
Expand Down Expand Up @@ -121,6 +123,7 @@ jobs:
matrix:
php-versions: ["8.2", "8.3"]
node: [16, 18, 20]
stability: [prefer-lowest, prefer-stable]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 9f2da5c

Please sign in to comment.