chg: Fix gh actions

This commit is contained in:
Raphaël Vinot 2020-11-30 14:22:14 +01:00
parent 2d885e2a22
commit 47830ca058

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