mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
plain composer
This commit is contained in:
parent
cd06dc7b4c
commit
1da2fa48fa
2 changed files with 5 additions and 4 deletions
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
|
|
@ -29,8 +29,9 @@ jobs:
|
|||
with:
|
||||
php-version: '8.0'
|
||||
extensions: apcu
|
||||
- uses: php-actions/composer@v5
|
||||
- uses: php-actions/phpstan@v2
|
||||
- name: Composer
|
||||
run: composer install
|
||||
- uses: php-actions/phpstan@v1
|
||||
with:
|
||||
error_format: github
|
||||
args: --level 6 src
|
||||
|
|
@ -55,7 +56,8 @@ jobs:
|
|||
with:
|
||||
php-version: '8.0'
|
||||
extensions: apcu
|
||||
- uses: php-actions/composer@v5
|
||||
- name: Composer
|
||||
run: composer install
|
||||
- name: PHPUnit Tests
|
||||
uses: docker://icewind1991/php-alpine-apcu
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ $connectionParams = [
|
|||
if ('pgsql' === $connectionParams['driver']) {
|
||||
$connectionParams['driver'] = 'pdo_pgsql';
|
||||
}
|
||||
/** @phpstan-ignore-next-line */
|
||||
$db = DriverManager::getConnection($connectionParams);
|
||||
$host = getenv('BASE_HOST') ?: '';
|
||||
$storeRoot = getenv('DEMO_ROOT') ?: '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue