1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 16:44:04 +00:00
tenancy/.github/workflows/ci.yml
Samuel Štancl 72b1b48edd
[3.x] Laravel 11 support (#1180)
* Laravel 11 support

* wip

* trigger ci

* fix ci file

* try setting charset and collation on the default mysql connection

* Set default cache driver to redis in tests

* drop and recreate id column separately in autoincrement_ids_are_supported

* set default redis client to predis in tests

* revert fail-fast

* try reverting TenantModelTest change

* migrate phpunit configuration

* add parent::tearDown() call
2024-03-12 15:04:54 +01:00

33 lines
670 B
YAML

name: CI
env:
COMPOSE_INTERACTIVE_NO_CLI: 1
on:
push:
branches: [ 3.x ]
pull_request:
branches: [ 3.x ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- laravel: 9
php: "8.0"
- laravel: 10
php: "8.1"
- laravel: 11
php: "8.3"
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 }}.0"
- name: Run tests
run: ./test