mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 16:57:18 +00:00
fix: reorganize GH actions
This commit is contained in:
parent
47830ca058
commit
9be4a53f77
1 changed files with 6 additions and 6 deletions
12
.github/workflows/nosetests.yml
vendored
12
.github/workflows/nosetests.yml
vendored
|
@ -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 a new issue