1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 16:24:04 +00:00
Commit graph

26 commits

Author SHA1 Message Date
72579999ac add queue.yml CI workflow 2024-12-31 07:23:47 +01:00
Samuel Štancl
ed52c48428
Always revert queue worker to the central context — fix #1229 (#1251)
* Fix #1229

* docker-compose -> docker compose in ci.yml

* docker->compose -> docker compose

* docker->compose -> docker compose

* clarify how dispatchNow() works
2024-09-17 18:12:33 +02:00
Samuel Štancl
f2e1648973
docker-compose -> docker compose 2024-09-10 12:53:04 +02:00
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
Guilherme Saade
d4a99011e6
[3.x] L10 compatibility (#1065)
* 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>
2023-02-16 17:21:06 +01:00
Samuel Štancl
db9480f54e
exclude master from CI 2022-06-01 15:35:39 +02:00
Samuel Štancl
fa2a61fcd7
Use PHP 7.3 instead of 7.2 2022-03-17 12:30:14 +01:00
Samuel Štancl
eb1a2ebe32
Use 7.2 instead of 7.4 2022-03-17 12:24:57 +01:00
Erik Gaal
79e3d53b06
[3.x] Compatibility with Laravel 9 (#802)
* Test on Laravel 9

* Don't extend final Kernel class

* Make FilesystemTenancyBootstrapper compatible with Flysystem v3

Co-authored-by: George <jiri.zizka@funfirst.cz>

* Update tenant maintenance mode te be in line with Laravel

* Exclude PHP 7.4 <> L9 combination from testing

* add root_override-related assertions

* getPrefix -> getPathPrefix

* handle / inconsistency in s3 prefix

* Refactor Storage facade changes

Co-authored-by: George <jiri.zizka@funfirst.cz>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2022-03-08 01:50:25 +01:00
Samuel Štancl
5b9b384526 Remove codecov 2022-02-19 16:33:59 +01:00
Samuel Štancl
9e9899349f Simplify docker build, use stable PHP 8 image 2020-12-01 18:20:25 +01:00
Samuel Štancl
30a1f9102d
PHP 8 support (#542)
* PHP 8 support, test workflow syntax

* Try using a custom data structure in the workflow

* Try using matrix include

* Default PHP target

* single include

* fix composer package name

* [WIP] Try using dev-master for valuestore

* Update spatie/valuestore constraint to be stable
2020-11-30 17:30:42 +01:00
Andre Sayej
36aabb7883
First try at Laravel 8 (#491) 2020-09-08 21:11:56 +02:00
Samuel Štancl
7d40b3390c
Run CI for 3.x branch too 2020-05-31 12:20:44 +02:00
Samuel Štancl
6788deca56 Drop keys for bootstrappers 2020-05-30 17:01:18 +02:00
Samuel Štancl
175add0148 Reindent ci.yml 2020-05-22 11:09:39 +02:00
Samuel Štancl
0049a48383 Laravel 6 support 2020-05-22 10:56:02 +02:00
Samuel Štancl
99d460f76e Disable 6.x in CI 2020-05-14 02:34:51 +02:00
Samuel Štancl
c239225bc6 Use CI on master branch too 2020-04-30 20:49:14 +02:00
Samuel Štancl
a00b575501
Fix matrix variable 2020-04-23 18:54:17 +02:00
Samuel Štancl
1ce39d44dd
Try docker-compose exec -T 2020-04-23 18:41:17 +02:00
Samuel Štancl
76c22666c3
Non-interactive docker-compose 2020-04-23 18:36:11 +02:00
Samuel Štancl
7eb3395807
Add docker-compose up -d 2020-04-22 23:36:06 +02:00
Samuel Štancl
c8b2113eb4
Update ci.yml 2020-04-22 23:34:54 +02:00
Samuel Štancl
5cc3578162
Update branch names 2020-04-22 23:33:57 +02:00
Samuel Štancl
721d0669c5
Set up GitHub Actions 2020-04-22 23:33:00 +02:00