Skip to content

Commit

Permalink
Merge branch 'v2.x-laravel10' into v2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
wakebit committed Apr 24, 2023
2 parents dd34f00 + 50b8e46 commit cbe3b79
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests-laravel-10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tests Laravel 10

on: [push, pull_request]

jobs:
tests-laravel-10:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [8.1, 8.2]

name: PHP ${{ matrix.php }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, sqlite, pdo_sqlite, iconv
coverage: none

- name: Install dependencies
run: |
composer require "laravel/framework:10.*" "orchestra/testbench:8.*" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"license": "MIT",
"require": {
"php": "^8.0|^8.1|^8.2",
"illuminate/console": "^7.0|^8.0|^9.0",
"illuminate/contracts": "^7.0|^8.0|^9.0",
"illuminate/support": "^7.0|^8.0|^9.0",
"illuminate/console": "^7.0|^8.0|^9.0|^10.0",
"illuminate/contracts": "^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",
"wakebit/cycle-bridge": "^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"orchestra/testbench": "^4.8 || ^5.2 || ^6.0 || ^7.0",
"orchestra/testbench": "^4.8 || ^5.2 || ^6.0 || ^7.0 || ^8.0",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.16.1",
"vimeo/psalm": "^4.22"
Expand Down

0 comments on commit cbe3b79

Please sign in to comment.