Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_helper_files
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_helper_files
Commits
585806d9
Unverified
Commit
585806d9
authored
Aug 17, 2021
by
René Helmke
Committed by
GitHub
Aug 17, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from fkie-cad/add-github-action
Add GitHub action
parents
91492bf1
f1a98bc7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
5 deletions
+35
-5
run_tests.yml
.github/workflows/run_tests.yml
+24
-0
pytest.ini
pytest.ini
+1
-1
setup.cfg
setup.cfg
+3
-0
setup.py
setup.py
+7
-4
No files found.
.github/workflows/run_tests.yml
0 → 100644
View file @
585806d9
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.ini
View file @
585806d9
[pytest]
[pytest]
addopts
=
--cov=./ -v
addopts
=
--
pycodestyle --
cov=./ -v
setup.cfg
0 → 100644
View file @
585806d9
[pycodestyle]
ignore = E501,W503
select = E504
setup.py
View file @
585806d9
...
@@ -9,10 +9,13 @@ setup(
...
@@ -9,10 +9,13 @@ setup(
install_requires
=
[
install_requires
=
[
'bitmath'
'bitmath'
],
],
tests_require
=
[
extras_require
=
{
'pytest'
,
'dev'
:
[
'pytest-cov'
,
'pytest'
,
],
'pytest-pycodestyle'
,
'pytest-cov'
]
},
description
=
'file operation helper functions'
,
description
=
'file operation helper functions'
,
author
=
'Fraunhofer FKIE'
,
author
=
'Fraunhofer FKIE'
,
author_email
=
'peter.weidenbach@fkie.fraunhofer.de'
,
author_email
=
'peter.weidenbach@fkie.fraunhofer.de'
,
...
...
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