Unverified Commit 585806d9 by René Helmke Committed by GitHub

Merge pull request #5 from fkie-cad/add-github-action

Add GitHub action
parents 91492bf1 f1a98bc7
name: Run Tests
on: [pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
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: run pytest
run: pytest
[pytest]
addopts = --cov=./ -v
addopts = --pycodestyle --cov=./ -v
[pycodestyle]
ignore = E501,W503
select = E504
......@@ -9,10 +9,13 @@ setup(
install_requires=[
'bitmath'
],
tests_require=[
'pytest',
'pytest-cov',
],
extras_require={
'dev': [
'pytest',
'pytest-pycodestyle',
'pytest-cov'
]
},
description='file operation helper functions',
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