mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:24:04 +00:00
* Bump dependencies for Laravel 10 * Update GitHub Actions for Laravel 10 * ci: do not test L10 using PHP 7.3 * drop < L9 support * use `dispatch_sync` instead of `dispatch_now` * migrate phpunit configuration * Update ci.yml * drop laravel < 9 support * misc L10 fixes, new docker image * specify odbc version * wip * properly list php versions as strings * minor changes * Add `getValue($queryGrammar)` to raw query * Clean up `isVersion8` code * rewrite hasFailed assertion * phpunit schema update * Upgrade `doctrine/dbal` --------- Co-authored-by: Samuel Štancl <samuel@archte.ch> Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com> Co-authored-by: lukinovec <lukinovec@gmail.com>
31 lines
627 B
YAML
31 lines
627 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"
|
|
|
|
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
|