Skip to content

Commit

Permalink
chore: update testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bepsvpt committed Mar 17, 2024
1 parent ae7d419 commit 9117288
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ name: Laravel

on:
push:
pull_request:
schedule:
# run tests on every week Monday
- cron: '0 0 * * 1'
- cron: '0 0 * * 1' # run tests on every week Monday

jobs:
static_analysis:
Expand Down Expand Up @@ -45,10 +43,10 @@ jobs:
run: composer normalize --dry-run

- name: Run static analysis
run: vendor/bin/phpstan --verbose
run: vendor/bin/phpstan --memory-limit=-1 --verbose

- name: Run coding style checker
run: vendor/bin/pint --verbose --test
run: vendor/bin/pint -v --test

unit_tests:
name: Laravel ${{ matrix.laravel }} (${{ matrix.php }}, ${{ matrix.os }})
Expand All @@ -59,9 +57,9 @@ jobs:
fail-fast: false

matrix:
laravel: ['11.0', '10.0', '9.0', '8.0', '7.0', '6.0', '5.8.0', '5.7.0', '5.6.0', '5.5.0', '5.4.0', '5.3.0', '5.2.0', '5.1.0']
php: ['8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0']
os: [ubuntu-latest, windows-latest, macOS-latest]
laravel: [ '11.0', '10.0', '9.0', '8.0', '7.0', '6.0', '5.8.0', '5.7.0', '5.6.0', '5.5.0', '5.4.0', '5.3.0', '5.2.0', '5.1.0' ]
php: [ '8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0' ]
os: [ ubuntu-latest, windows-latest, macOS-latest ]
exclude:
- { laravel: '5.1.0', php: '8.0' }
- { laravel: '5.1.0', php: '8.1' }
Expand Down

0 comments on commit 9117288

Please sign in to comment.