1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:54: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: 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