Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Run unit tests"
name: Run unit tests

on:
- push
Expand All @@ -9,17 +9,21 @@ env:

jobs:
test:
name: "Lara ${{ matrix.laravel }} PHP ${{ matrix.php }} Unit ${{ matrix.phpunit }}"
name: Lara ${{ matrix.laravel }} PHP ${{ matrix.php }} Unit ${{ matrix.phpunit }}

runs-on: ubuntu-latest

strategy:
max-parallel: 6 # 12
max-parallel: 6
fail-fast: false
matrix:
laravel: [10, 11]
laravel: [10, 11, '12']
php: ['8.2', '8.3', '8.4']
phpunit: [10]
phpunit: ['8.2', '8.3', '8.4', 10]
exclude:
- {laravel: 10, php: '8.4'}
- laravel: 10
php: '8.4'

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -52,9 +56,3 @@ jobs:

- name: Run unit tests
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

# - name: Upload to Scrutinizer
# continue-on-error: true
# run: |
# composer global require scrutinizer/ocular
# ~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
15 changes: 10 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "kris/laravel-form-builder",
"description": "Laravel form builder - symfony like",
"keywords": ["laravel", "form", "builder", "symfony"],
"keywords": [
"laravel",
"form",
"builder",
"symfony"
],
"license": "MIT",
"authors": [
{
Expand All @@ -12,12 +17,12 @@
"require": {
"php": "^8.0",
"rdx/laravelcollective-html": "^6",
"illuminate/database": "^10 || ^11",
"illuminate/validation": "^10 || ^11"
"illuminate/database": "^10 || ^11 || ^12.0",
"illuminate/validation": "^10 || ^11 || ^12.0"
},
"require-dev": {
"orchestra/testbench": "^8 || ^9",
"phpunit/phpunit": "^10.0"
"orchestra/testbench": "^8 || ^9 || ^10.0",
"phpunit/phpunit": "^10.0 || ^11.5.3"
},
"extra": {
"branch-alias": {
Expand Down
Loading