mirror of https://github.com/MISP/misp-galaxy
fix: reorganize GH actions
parent
47830ca058
commit
9be4a53f77
|
@ -28,12 +28,13 @@ jobs:
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: sudo apt install jq moreutils
|
||||||
sudo apt install jq moreutils
|
|
||||||
|
- name: Validate files
|
||||||
|
run: ./validate_all.sh
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: python -m pip install poetry
|
||||||
python -m pip install poetry
|
|
||||||
|
|
||||||
- name: Install testing via python module
|
- name: Install testing via python module
|
||||||
run: |
|
run: |
|
||||||
|
@ -44,9 +45,8 @@ jobs:
|
||||||
poetry install
|
poetry install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- name: Test
|
- name: Test with Python module
|
||||||
run: |
|
run: |
|
||||||
./validate_all.sh
|
|
||||||
pushd PyMISPGalaxies
|
pushd PyMISPGalaxies
|
||||||
poetry run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
|
poetry run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue