mirror of https://github.com/MISP/misp-galaxy
chg: Fix gh actions
parent
2d885e2a22
commit
47830ca058
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue