mirror of https://github.com/MISP/MISP
Merge pull request #8952 from MISP/composer_fix
chg: update GHA to fix composer, maybe.pull/9021/head
commit
8af1f27a02
|
@ -75,7 +75,8 @@ jobs:
|
|||
run: |
|
||||
sudo chown $USER:www-data $HOME/.composer
|
||||
pushd app
|
||||
sudo -H -u $USER php composer.phar install --no-progress
|
||||
sudo -H -u $USER composer config --no-plugins allow-plugins.composer/installers true
|
||||
sudo -H -u $USER composer install --no-progress
|
||||
popd
|
||||
cp -fa INSTALL/setup/config.php app/Plugin/CakeResque/Config/config.php
|
||||
# Set perms
|
||||
|
@ -138,6 +139,13 @@ jobs:
|
|||
sudo chown -R $USER:www-data `pwd`/app/Config
|
||||
sudo chmod -R 777 `pwd`/app/Config
|
||||
|
||||
# fix perms (?)
|
||||
namei -m /home/runner/work
|
||||
sudo chmod +x /home/runner/work
|
||||
sudo chmod +x /home/runner
|
||||
sudo chmod +x /home
|
||||
sudo chmod +x /
|
||||
|
||||
- name: DB Update
|
||||
run: |
|
||||
sudo -E su $USER -c 'app/Console/cake Admin setSetting "MISP.osuser" $USER'
|
||||
|
@ -244,13 +252,11 @@ jobs:
|
|||
. ./venv/bin/activate
|
||||
pushd PyMISP
|
||||
python tests/testlive_comprehensive.py
|
||||
python tests/test_mispevent.py
|
||||
popd
|
||||
python tests/testlive_security.py -v
|
||||
python tests/testlive_sync.py
|
||||
python tests/testlive_comprehensive_local.py -v
|
||||
pushd PyMISP
|
||||
python tests/test_mispevent.py
|
||||
popd
|
||||
cp PyMISP/tests/keys.py PyMISP/examples/events/
|
||||
pushd PyMISP/examples/events/
|
||||
python ./create_massive_dummy_events.py -l 5 -a 30
|
||||
|
|
Loading…
Reference in New Issue