mirror of
https://github.com/aljazceru/recon-pipeline.git
synced 2026-01-26 01:34:23 +01:00
Add scan tests (#10)
* recon.targets tests added * restructured tests logically * fixed yaml error * fixed job names * recon.__init__ tests added * recon.config tests added * recon.amass.ParseAmassScan tests added * fixed test destined to fail on CI pipeline * testing amass partially complete this commit closes #6 and #8 updated existing tests to utilize new paths
This commit is contained in:
24
.github/workflows/pythonapp.yml
vendored
24
.github/workflows/pythonapp.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
with:
|
||||
args: ". --check"
|
||||
|
||||
test:
|
||||
test-install:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -48,4 +48,24 @@ jobs:
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pipenv install pytest
|
||||
pipenv run python -m pytest tests/
|
||||
pipenv run python -m pytest tests/test_install
|
||||
|
||||
test-recon:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python 3.7
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Set up pipenv
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pipenv
|
||||
pipenv install -d
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pipenv install pytest
|
||||
pipenv run python -m pytest tests/test_recon
|
||||
|
||||
Reference in New Issue
Block a user