mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:54:03 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ 3.x, 2.x ]
|
branches: [ 3.x ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ 3.x, 2.x ]
|
branches: [ 3.x ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
|
|
@ -15,22 +15,17 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php: ["8.0", "8.1"]
|
|
||||||
laravel: ["^9.0", "^10.0"]
|
|
||||||
include:
|
include:
|
||||||
- laravel: "^9.0"
|
- laravel: 9
|
||||||
testbench: "^7.0"
|
php: 8.0
|
||||||
- laravel: "^10.0"
|
- laravel: 10
|
||||||
testbench: "^8.0"
|
php: 8.1
|
||||||
exclude:
|
|
||||||
- laravel: "^10.0"
|
|
||||||
php: "8.0"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Start docker containers
|
- name: Start docker containers
|
||||||
run: PHP_VERSION=${{ matrix.php }} docker-compose up -d
|
run: PHP_VERSION=${{ matrix.php }} docker-compose up -d
|
||||||
- name: Install dependencies
|
- 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
|
- name: Run tests
|
||||||
run: ./test
|
run: ./test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue