Skip to content

Commit 893c475

Browse files
authored
Merge pull request #22 from LIQRGV/feat/include-eager-load-relation
Include eager load relation
2 parents 194520c + b5605a4 commit 893c475

File tree

9 files changed

+3344
-1567
lines changed

9 files changed

+3344
-1567
lines changed

.github/workflows/ci.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
push:
9+
branches:
10+
- master
11+
12+
jobs:
13+
build-test:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout Code
17+
uses: actions/checkout@v2
18+
19+
- name: Install composer and dependencies
20+
uses: php-actions/composer@v6
21+
22+
- name: PHPUnit Tests
23+
uses: php-actions/phpunit@v3
24+
env:
25+
XDEBUG_MODE: coverage
26+
with:
27+
bootstrap: vendor/autoload.php
28+
configuration: phpunit.xml
29+
php_extensions: xdebug
30+
args: tests --coverage-clover ./coverage.xml
31+
32+
- name: Upload to Codecov
33+
uses: codecov/codecov-action@v2
34+
with:
35+
token: ${{ secrets.CODE_COV_TOKEN }}
36+
files: ./coverage.xml
37+
verbose: true

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"haydenpierce/class-finder": "^0.4.0"
1414
},
1515
"require-dev": {
16-
"fzaninotto/faker": ">=1.4",
16+
"fakerphp/faker": ">=1.4",
1717
"illuminate/routing": ">=6.0",
1818
"laravel/lumen-framework": ">=6.0",
1919
"mockery/mockery": ">=1.0",

0 commit comments

Comments
 (0)