Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_analysis_ip_and_uri
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
common_analysis_ip_and_uri
Commits
54093096
Commit
54093096
authored
Sep 07, 2021
by
Jörg Stucke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added github action + config files + refactoring
parent
5afde9dd
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
8 deletions
+39
-8
run_tests.yml
.github/workflows/run_tests.yml
+28
-0
.gitignore
.gitignore
+6
-4
ip_and_uri_finder_analysis.py
..._analysis_ip_and_uri_finder/ip_and_uri_finder_analysis.py
+1
-1
pytest.ini
pytest.ini
+1
-3
setup.cfg
setup.cfg
+3
-0
__init__.py
tests/__init__.py
+0
-0
test_ip_and_uri_finder.py
tests/test_ip_and_uri_finder.py
+0
-0
No files found.
.github/workflows/run_tests.yml
0 → 100644
View file @
54093096
name
:
Run Tests
on
:
[
pull_request
]
jobs
:
tests
:
strategy
:
matrix
:
python-version
:
[
3.6
,
3.9
]
os
:
[
ubuntu-18.04
,
ubuntu-20.04
]
fail-fast
:
false
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
install deps
run
:
|
python3 -m pip install -U pip
python3 -m pip install --editable .[dev]
-
name
:
install yara
run
:
sudo apt-get install yara
-
name
:
run pytest
run
:
pytest
.gitignore
View file @
54093096
__pycache__
*.egg-info/*
*.pyc
.cache
.coverage
.idea
.project
.project
.pydevproject
.pydevproject
*.pyc
__pycache__
build/*
build/*
dist/*
dist/*
*.egg-info/*
.cache
common_analysis_ip_and_uri_finder/ip_and_uri_finder_analysis.py
View file @
54093096
...
@@ -11,7 +11,7 @@ logger = logging.getLogger('CommonAnalysisIPAndURIFinder')
...
@@ -11,7 +11,7 @@ logger = logging.getLogger('CommonAnalysisIPAndURIFinder')
logger
.
setLevel
(
logging
.
INFO
)
logger
.
setLevel
(
logging
.
INFO
)
system_version
=
"0.4.
1
"
system_version
=
"0.4.
2
"
class
FinderBase
:
class
FinderBase
:
...
...
pytest.ini
View file @
54093096
[pytest]
[pytest]
addopts
=
--pep8 -v
addopts
=
--pycodestyle --cov=./ -v
pep8ignore
=
*.py E501
setup.cfg
0 → 100644
View file @
54093096
[pycodestyle]
ignore = E501,W503
select = E504
common_analysis_ip_and_uri_finder/
tests/__init__.py
→
tests/__init__.py
View file @
54093096
File moved
common_analysis_ip_and_uri_finder/
tests/test_ip_and_uri_finder.py
→
tests/test_ip_and_uri_finder.py
View file @
54093096
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment