mirror of https://github.com/MISP/MISP
chg: [test] Move PHP tests to different task
parent
9a5b40f240
commit
4ee2726f37
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue