File tree Expand file tree Collapse file tree 4 files changed +45
-6
lines changed Expand file tree Collapse file tree 4 files changed +45
-6
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
run :
11
11
runs-on : ubuntu-latest
12
- name : PHPCS - PHP-${{ matrix.php }}
13
- strategy :
14
- fail-fast : false
15
- matrix :
16
- php : ['8.0', '8.1' ]
12
+ name : Workflow - PHP-${{ matrix.php }}
13
+
17
14
services :
18
15
mysql :
19
16
image : mysql:5.7
17
+ ports :
18
+ - " 3306:3306"
20
19
env :
21
20
MYSQL_ROOT_PASSWORD : secret
21
+ MYSQL_USER : phalcon
22
+ MYSQL_DATABASE : phalcon_api
23
+ MYSQL_PASSWORD : secret
22
24
redis :
23
25
image : redis:5-alpine
26
+ ports :
27
+ - " 6379:6379"
28
+
29
+ strategy :
30
+ fail-fast : false
31
+ matrix :
32
+ php : ['8.0', '8.1' ]
33
+
24
34
steps :
25
35
- uses : actions/checkout@v1
26
36
- name : Setup PHP
53
63
- name : Run tests
54
64
if : always()
55
65
run : |
66
+ sudo php -S 0.0.0.0 -t ./.htrouter.php &
56
67
vendor/bin/codecept build
57
68
vendor/bin/codecept run unit --coverage-xml=unit-coverage.xml
58
69
vendor/bin/codecept run integration --coverage-xml=integration-coverage.xml
Original file line number Diff line number Diff line change @@ -55,6 +55,6 @@ modules:
55
55
56
56
# Get params from .env file
57
57
params :
58
- - tests/ .env.test
58
+ - .env
59
59
60
60
error_level : " E_ALL"
Original file line number Diff line number Diff line change
1
+ APP_DEBUG = true
2
+ APP_ENV = development
3
+ APP_URL = http://127.0.0.1
4
+ APP_NAME = " Phalcon API"
5
+ APP_BASE_URI = /
6
+ APP_SUPPORT_EMAIL = [email protected]
7
+ APP_TIMEZONE = UTC
8
+
9
+ DATA_API_MYSQL_HOST = 127.0.0.1
10
+ DATA_API_MYSQL_USER = root
11
+ DATA_API_MYSQL_PASS = secret
12
+ DATA_API_MYSQL_NAME = phalcon_api
13
+
14
+ DATA_API_REDIS_HOST = 127.0.0.1
15
+
16
+ TOKEN_AUDIENCE = https://phalcon.io
17
+
18
+ CACHE_PREFIX = api_cache_
19
+ CACHE_LIFETIME = 86400
20
+
21
+ APP_IP = 127.0.0.1
22
+
23
+ LOGGER_DEFAULT_FILENAME = api
24
+
25
+ VERSION = 20180401
26
+
27
+ CODECEPTION_URL = 127.0.0.1
28
+ CODECEPTION_PORT = 80
File renamed without changes.
You can’t perform that action at this time.
0 commit comments