Unverified Commit 2dd5ad58 by Jörg Stucke Committed by GitHub

Merge pull request #3 from fkie-cad/github-action

added github action + config files
parents 6f38b335 861478b2
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
# general things to ignore
build/
dist/
*.egg-info/
.coverage
*.egg
*.egg-info/
*.py[cod]
__pycache__/
*.so
*~
.idea
.project
.pydevproject
__pycache__/
build/
dist/
[pytest]
addopts = --pycodestyle --cov=./ -v
[pycodestyle]
ignore = E501,W503
select = E504
from setuptools import setup, find_packages
VERSION = "0.2"
VERSION = "0.2.1"
setup(
name="common_helper_yara",
......@@ -9,6 +9,13 @@ setup(
install_requires=[
'common_helper_files @ git+https://github.com/fkie-cad/common_helper_files.git'
],
extras_require={
'dev': [
'pytest',
'pytest-pycodestyle',
'pytest-cov'
]
},
description="Yara command line binding",
author="Fraunhofer FKIE",
author_email="peter.weidenbach@fkie.fraunhofer.de",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment