mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:34:04 +00:00
Update ci.yml
This commit is contained in:
parent
ca1efec9a6
commit
eca3b79118
1 changed files with 7 additions and 12 deletions
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
|
|
@ -5,9 +5,9 @@ env:
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ 3.x, 2.x ]
|
||||
branches: [ 3.x ]
|
||||
pull_request:
|
||||
branches: [ 3.x, 2.x ]
|
||||
branches: [ 3.x ]
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
|
@ -15,22 +15,17 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
php: ["8.0", "8.1"]
|
||||
laravel: ["^9.0", "^10.0"]
|
||||
include:
|
||||
- laravel: "^9.0"
|
||||
testbench: "^7.0"
|
||||
- laravel: "^10.0"
|
||||
testbench: "^8.0"
|
||||
exclude:
|
||||
- laravel: "^10.0"
|
||||
php: "8.0"
|
||||
- laravel: 9
|
||||
php: 8.0
|
||||
- laravel: 10
|
||||
php: 8.1
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Start docker containers
|
||||
run: PHP_VERSION=${{ matrix.php }} docker-compose up -d
|
||||
- name: Install dependencies
|
||||
run: docker-compose exec -T test composer require --no-interaction "laravel/framework:${{ matrix.laravel }}"
|
||||
run: docker-compose exec -T test composer require --no-interaction "laravel/framework:^${{ matrix.laravel }}.0"
|
||||
- name: Run tests
|
||||
run: ./test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue