mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Update unit tests for latest codeception
This commit is contained in:
parent
0db02281c9
commit
f46b41f437
12 changed files with 331 additions and 295 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -28,16 +28,18 @@ jobs:
|
|||
- name: PHP Lint
|
||||
run: if find . -name "*.php" ! -path "./vendor/*" -print0 | xargs -0 -n 1 -P 8 php -l | grep -v "No syntax errors detected"; then exit 1; fi
|
||||
|
||||
- name: Download codeception
|
||||
if: matrix.php != '8.0'
|
||||
run: wget https://codeception.com/releases/2.3.9/codecept.phar
|
||||
- name: Download codeception (PHP 7.2 and above)
|
||||
if: matrix.php >= '7.2'
|
||||
run: wget https://codeception.com/codecept.phar
|
||||
|
||||
- name: Download codeception (PHP 7.1 and below)
|
||||
if: matrix.php <= '7.1'
|
||||
run: wget https://codeception.com/php56/codecept.phar
|
||||
|
||||
- name: Run PHP development server
|
||||
if: matrix.php != '8.0'
|
||||
run: php -S localhost:8000 &
|
||||
|
||||
- name: Build and run codeception
|
||||
if: matrix.php != '8.0'
|
||||
run: |
|
||||
php codecept.phar build
|
||||
php codecept.phar run --debug --fail-fast --env travis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue