chg: [GitHub action] install the python-cti-stix2 from the local submodule

pull/7818/head
Alexandre Dulaunoy 2021-10-08 10:30:10 +02:00
parent 200f6e1466
commit 7553b49784
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 3 additions and 0 deletions

View File

@ -194,6 +194,9 @@ jobs:
sudo -E su $USER -c 'app/Console/cake Admin setSetting "MISP.python_bin" "$GITHUB_WORKSPACE/venv/bin/python"'
. ./venv/bin/activate
export PYTHONPATH=$PYTHONPATH:./app/files/scripts
pushd ./app/files/scripts/cti-python-stix2
pip install .
popd
pushd PyMISP
pip install .[fileobjects,email]
popd