chg: Fix gh actions

pull/607/head
Raphaël Vinot 2020-11-30 14:22:14 +01:00
parent 2d885e2a22
commit 47830ca058
1 changed files with 13 additions and 2 deletions

View File

@ -33,9 +33,20 @@ jobs:
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
python -m pip install --upgrade jsonschema pytaxonomies python -m pip install poetry
- name: Install testing via python module
run: |
git clone https://github.com/MISP/PyMISPGalaxies.git
pushd PyMISPGalaxies
git submodule update --init
git submodule foreach git pull origin main
poetry install
popd
- name: Test - name: Test
run: | run: |
./validate_all.sh ./validate_all.sh
pytaxonomies -l MANIFEST.json -a pushd PyMISPGalaxies
poetry run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
popd