chg: [test] Move PHP tests to different task

pull/7603/head
Jakub Onderka 2021-07-27 09:42:50 +02:00
parent 9a5b40f240
commit 4ee2726f37
1 changed files with 5 additions and 2 deletions

View File

@ -213,14 +213,17 @@ jobs:
cat tests/keys.py
popd
- name: Run tests
- name: Run PHP tests
run: |
source $HOME/.poetry/env # enable poetry binary
./app/Vendor/bin/parallel-lint --exclude app/Lib/cakephp/ --exclude app/Vendor/ --exclude app/Lib/random_compat/ -e php,ctp app/
./app/Vendor/bin/phpunit app/Test/ComplexTypeToolTest.php
./app/Vendor/bin/phpunit app/Test/JSONConverterToolTest.php
./app/Vendor/bin/phpunit app/Test/CidrToolTest.php
- name: Run tests
run: |
source $HOME/.poetry/env # enable poetry binary
# Ensure the perms of config files
sudo chown -R $USER:www-data `pwd`/app/Config
sudo chmod -R 777 `pwd`/app/Config