File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 4646 ~/.php_cs.cache
4747 ${{ steps.composer-cache.outputs.dir }}
4848 key : ${{ runner.os }}-cache-${{ matrix.php }}-${{ hashFiles('**.composer.lock') }}
49- restore-keys : |
50- ${{ runner.os }}-cache-${{ matrix.php }}-
5149 - name : setup
5250 uses : shivammathur/setup-php@v2
5351 with :
@@ -63,20 +61,20 @@ jobs:
6361 run : vendor/bin/php-cs-fixer fix --dry-run --diff --diff-format=udiff --config .php_cs.dist
6462 continue-on-error : true
6563 - name : execute unit tests
66- run : vendor/bin/phpunit --bootstrap bootstrap/app .php tests/Unit
64+ run : vendor/bin/phpunit --bootstrap vendor/autoload .php tests/Unit
6765 if : ${{ always() }}
6866 env :
6967 DB_CONNECTION : testing
7068 TESTING_DB_HOST : UNIT_NO_DB
7169 - name : execute integration tests (mysql)
7270 run : vendor/bin/phpunit tests/Integration
73- if : " ${{ matrix.database }} == 'mysql'"
71+ if : ${{ matrix.database == 'mysql' }}
7472 env :
7573 TESTING_DB_PORT : ${{ job.services.mysql.ports[3306] }}
7674 TESTING_DB_USERNAME : root
7775 - name : execute integration tests (mariadb)
7876 run : vendor/bin/phpunit tests/Integration
79- if : " ${{ matrix.database }} == 'mariadb'"
77+ if : ${{ matrix.database == 'mariadb' }}
8078 env :
8179 TESTING_DB_PORT : ${{ job.services.mariadb.ports[3306] }}
8280 TESTING_DB_USERNAME : root
You can’t perform that action at this time.
0 commit comments