Skip to content
Merged
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
23 changes: 16 additions & 7 deletions .github/workflows/phptest.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
on: [push]
on:
- push

name: "CI PHP"
name: CI PHP

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
php: [7.4, 8.0, 8.1, 8.2, 8.3]
laravel: [8.*]
laravel: ['8.*', '11.*']
include:
- php: 8.0
laravel: 9.*
Expand All @@ -24,6 +24,15 @@ jobs:
laravel: 10.*
- php: 8.3
laravel: 10.*
- php: '8.2'
laravel: 11.*
exclude:
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand All @@ -47,12 +56,12 @@ jobs:

- name: Composer Install
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer install
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer install

- name: PHPUNIT Tests
run: |
./vendor/bin/phpunit --coverage-clover=coverage.xml
./vendor/bin/phpunit --coverage-clover=coverage.xml

- name: Upload to codecov
uses: codecov/codecov-action@v3
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
branches:
- master

name: "CI Release Dist"
name: CI Release Dist

jobs:
test:
Expand All @@ -13,13 +13,15 @@ jobs:

strategy:
matrix:
node-versions: [20]
node-versions:
- 20

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -47,7 +49,7 @@ jobs:
uses: peter-evans/create-pull-request@v4
with:
commit-message: (action) Update dist
title: "(action) update dist astro"
title: (action) update dist astro

- name: Export dist to resources for gh-pages
working-directory: ./ui
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
],
"require": {
"php": "^7.4|^8.0|^8.1|^8.2|^8.3",
"illuminate/contracts": "^8.37|^9.0|^10.0",
"illuminate/contracts": "^8.37|^9.0|^10.0|^11.0",
"kitloong/laravel-app-logger": "^1.0",
"spatie/laravel-package-tools": "^1.4.3",
"ext-json": "*"
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.12|dev-master",
"brianium/paratest": "^6.2",
"brianium/paratest": "^6.2|^7.4",
"friendsofphp/php-cs-fixer": "^3.5",
"nunomaduro/collision": "^5.3|^6.0",
"nunomaduro/collision": "^5.3|^6.0|^8.0",
"nunomaduro/larastan": "^1.0|^2.4",
"orchestra/testbench": "^6.15|^7.0|^8.0",
"phpunit/phpunit": "^9.3",
"orchestra/testbench": "^6.15|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.3|^10.5",
"spatie/laravel-ray": "^1.23",
"squizlabs/php_codesniffer": "^3.6",
"vimeo/psalm": "^4.8|^5.6"
Expand Down