mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-22 23:07:19 +00:00
chg: Fix gh actions
This commit is contained in:
parent
2d885e2a22
commit
47830ca058
1 changed files with 13 additions and 2 deletions
15
.github/workflows/nosetests.yml
vendored
15
.github/workflows/nosetests.yml
vendored
|
@ -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 a new issue