We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b1b478 commit d6b765eCopy full SHA for d6b765e
.github/workflows/tests.yml
@@ -18,7 +18,7 @@ jobs:
18
fail-fast: true
19
matrix:
20
php: [7.3, 7.4]
21
- name: Integration (PHP ${{ matrix.php }})
+ name: PHP ${{ matrix.php }}
22
steps:
23
- name: checkout
24
uses: actions/checkout@v2
@@ -44,7 +44,12 @@ jobs:
44
run: cp .env.ci .env
45
- name: install dependencies
46
run: composer install --prefer-dist --no-interaction --no-progress
47
- - name: execute tests
+ - name: execute unit tests
48
+ run: vendor/bin/phpunit --bootstrap bootstrap/app.php tests/Unit
49
+ env:
50
+ DB_CONNECTION: testing
51
+ TESTING_DB_HOST: UNIT_NO_DB
52
+ - name: execute integration tests
53
run: vendor/bin/phpunit tests/Integration
54
env:
55
TESTING_DB_PORT: ${{ job.services.mysql.ports[3306] }}
0 commit comments