Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .env
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# User and Group settings
# For automatic host user detection, run before docker-compose:
# export USER_ID=$(id -u) && export GROUP_ID=$(id -g)
# Otherwise, these defaults will be used:
# === SYSTEM CONFIGURATION ===
USER_ID=1000
GROUP_ID=1000
USER_NAME=www-data
GROUP_NAME=www-data

# Yii2 environment settings
# === YII2 APPLICATION ===
YII_DEBUG=true
YII_ENV=dev
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
codeception-command: vendor/bin/codecept run --env php-builtin --coverage-xml
coverage-file: runtime/output/coverage.xml
extensions: gd, intl
extensions: gd, intl, pcov
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: docker exec yii2-apache vendor/bin/codecept build

- name: Run codeception tests.
run: docker exec yii2-apache vendor/bin/codecept run
run: docker exec yii2-apache vendor/bin/codecept run --env dockerized

test-caddy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: docker exec yii2-caddy vendor/bin/codecept build

- name: Run codeception tests.
run: docker exec yii2-caddy vendor/bin/codecept run
run: docker exec yii2-caddy vendor/bin/codecept run --env dockerized

test-frankenphp:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
run: docker exec yii2-frankenphp vendor/bin/codecept build

- name: Run codeception tests.
run: docker exec yii2-frankenphp vendor/bin/codecept run
run: docker exec yii2-frankenphp vendor/bin/codecept run --env dockerized

test-nginx:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -123,4 +123,4 @@ jobs:
run: docker exec yii2-nginx vendor/bin/codecept build

- name: Run codeception tests.
run: docker exec yii2-nginx vendor/bin/codecept run
run: docker exec yii2-nginx vendor/bin/codecept run --env dockerized
4 changes: 2 additions & 2 deletions codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ bootstrap: _bootstrap.php
support_namespace: Support
paths:
tests: tests
output: public/runtime/output
output: runtime/output
data: tests/Support/data
support: tests/Support
envs: public/runtime/_envs
envs: tests/_envs
actor_suffix: Tester
settings:
memory_limit: 1024M
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"ui-awesome/html": "^0.3",
"ui-awesome/html-component-bootstrap5": "^1.0@dev",
"ui-awesome/html-svg":"^0.2",
"vlucas/phpdotenv": "^5.6",
"yii2-extensions/localeurls": "^0.1.0",
"yiisoft/yii2": "^2.0.53|^22",
"yiisoft/yii2-bootstrap5": "^2.0.50|^22",
Expand All @@ -26,6 +27,7 @@
"codeception/lib-innerbrowser": "^4.0",
"codeception/module-asserts": "^3.0",
"codeception/module-filesystem": "^3.0",
"codeception/module-phpbrowser": "^3.0",
"codeception/module-yii2": "^1.1",
"codeception/verify": "^3.0",
"maglnet/composer-require-checker": "^4.6",
Expand Down Expand Up @@ -75,6 +77,6 @@
"ecs": "./vendor/bin/ecs --fix",
"rector": "./vendor/bin/rector process src",
"static": "./vendor/bin/phpstan analyse src --memory-limit=512M",
"tests": "./vendor/bin/codecept run"
"tests": "./vendor/bin/codecept run --env php-builtin"
}
}
Loading
Loading