mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 11:14:04 +00:00
Add autodiscovery
This commit is contained in:
parent
cfcae73ee1
commit
81c8547077
2 changed files with 14 additions and 3 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -5,9 +5,6 @@ env:
|
||||||
LEAN_MYSQL_PORT: 3307
|
LEAN_MYSQL_PORT: 3307
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
matrix:
|
|
||||||
laravel: [6, 8]
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
@ -15,6 +12,10 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
phpunit:
|
phpunit:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
laravel: [6, 8]
|
||||||
|
|
||||||
name: Tests (PHPUnit)
|
name: Tests (PHPUnit)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,5 +23,15 @@
|
||||||
"orchestra/testbench-core": "6.7.0",
|
"orchestra/testbench-core": "6.7.0",
|
||||||
"phpunit/phpunit": "^9.5",
|
"phpunit/phpunit": "^9.5",
|
||||||
"nunomaduro/larastan": "^0.6.11"
|
"nunomaduro/larastan": "^0.6.11"
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Lean\\Gloss\\GlossServiceProviders"
|
||||||
|
],
|
||||||
|
"aliases": {
|
||||||
|
"Gloss": "Lean\\Gloss\\Gloss"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue