mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 11:24:03 +00:00
Merge pull request #13 from archtechx/l9-support-preparing
Support Laravel 9
This commit is contained in:
commit
1b34e3f4c2
2 changed files with 10 additions and 5 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -13,15 +13,18 @@ on:
|
|||
|
||||
jobs:
|
||||
pest:
|
||||
name: Tests (Pest)
|
||||
name: Tests (Pest) L${{ matrix.laravel }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
laravel: [8, 9]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Start docker containers
|
||||
run: docker-compose up -d
|
||||
- name: Install composer dependencies
|
||||
run: composer install
|
||||
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
|
||||
- name: Run tests
|
||||
run: vendor/bin/pest
|
||||
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@
|
|||
},
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"illuminate/support": "^8.24",
|
||||
"illuminate/support": "^8.0|^9.0",
|
||||
"archtechx/helpers": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^6.9",
|
||||
"orchestra/testbench": "^6.9|^7.0",
|
||||
"pestphp/pest": "^1.10",
|
||||
"phpstan/phpstan": "^0.12.92",
|
||||
"pestphp/pest-plugin-laravel": "^1.1",
|
||||
|
|
@ -41,5 +41,7 @@
|
|||
"ArchTech\\Money\\MoneyServiceProvider"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue