Skip to content

Commit

Permalink
Merge branch '1.x' into feature/custom-sb-version
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtimbrook committed Mar 6, 2024
2 parents d5f4c02 + b0dcaea commit 6291558
Show file tree
Hide file tree
Showing 6 changed files with 297 additions and 512 deletions.
52 changes: 27 additions & 25 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: phpunit

on:
push:
branches: ['1.x']
branches:
- 1.x
pull_request:
branches: ['1.x']
branches:
- 1.x

jobs:
test:
Expand All @@ -13,30 +15,30 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.1', '8.0']
php: ['8.0', '8.1', '8.2']

name: P${{ matrix.php }}

steps:
- uses: actions/checkout@v2

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-${{ matrix.php }}-node-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.php }}-node-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --no-progress --no-suggest

- name: Run test suite
run: vendor/bin/phpunit
- uses: actions/checkout@v2

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-${{ matrix.php }}-node-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.php }}-node-
- name: Install dependencies
if: "steps.composer-cache.outputs.cache-hit != 'true'"
run: composer install --no-progress --no-suggest

- name: Run test suite
run: vendor/bin/phpunit
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"require": {
"php": "^7.3|^8.0|^8.1",
"ext-json": "*",
"illuminate/filesystem": "^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",
"illuminate/view": "^7.0|^8.0|^9.0|^10.0"
"illuminate/filesystem": "^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/view": "^7.0|^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^6.21|^7.0"
"orchestra/testbench": "^6.21|^7.0|^9.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 6291558

Please sign in to comment.