diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 60970163b..93227f5c6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -216,9 +216,6 @@ jobs: . ./venv/bin/activate export PYTHONPATH=$PYTHONPATH:./app/files/scripts pip install ./PyMISP[fileobjects,email] ./app/files/scripts/python-stix ./app/files/scripts/cti-python-stix2 pyzmq redis plyara - pushd tests - bash ./build-test.sh - popd deactivate - name: Test if apache is working @@ -232,6 +229,10 @@ jobs: echo 'key = "'${AUTH}'"' >> tests/keys.py cat tests/keys.py popd + . ./venv/bin/activate + pushd tests + bash ./build-test.sh + popd deactivate - name: Run PHP tests