From 81c854707765755ffc7ce093dfdcf6598f07fe72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 13 Dec 2020 03:20:22 +0100 Subject: [PATCH] Add autodiscovery --- .github/workflows/ci.yml | 7 ++++--- composer.json | 10 ++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0006f0d..3154382 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,9 +5,6 @@ env: LEAN_MYSQL_PORT: 3307 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -matrix: - laravel: [6, 8] - on: push: pull_request: @@ -15,6 +12,10 @@ on: jobs: phpunit: + strategy: + matrix: + laravel: [6, 8] + name: Tests (PHPUnit) runs-on: ubuntu-latest diff --git a/composer.json b/composer.json index d874a72..00688b5 100644 --- a/composer.json +++ b/composer.json @@ -23,5 +23,15 @@ "orchestra/testbench-core": "6.7.0", "phpunit/phpunit": "^9.5", "nunomaduro/larastan": "^0.6.11" + }, +"extra": { + "laravel": { + "providers": [ + "Lean\\Gloss\\GlossServiceProviders" + ], + "aliases": { + "Gloss": "Lean\\Gloss\\Gloss" + } } } +}