1
0
Fork 0
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:
Samuel Štancl 2023-02-16 11:47:34 +01:00 committed by GitHub
parent ca1efec9a6
commit eca3b79118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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