Skip to content

Commit

Permalink
#4 Adds codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
bytebutcher committed Jul 3, 2023
1 parent 3ff81af commit 49a636c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Workflow for Codecov example-python
name: Workflow for Codecov python-dict-display-filter
on: [push, pull_request]
jobs:
run:
Expand All @@ -11,7 +11,7 @@ jobs:
with:
python-version: '3.10'
- name: Install dependencies
run: pip install .
run: pip install .[test]
- name: Run tests and collect coverage
run: pytest --cov .
- name: Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ python:
- "3.10"
- "3.11"
install:
- pip install .
- pip install .[test]
script:
- python test.py
13 changes: 9 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@
'parameterized==0.8.1',
'pyparsing==3.0.6',
'ipranger==1.1.2',
'python-dateutil==2.8.2',
'pytest==7.3.1',
'pytest-cov==4.0.0',
'pexpect==4.8.0'
'python-dateutil==2.8.2'
],
extras_require={
'test': [
'pytest==7.3.1',
'pytest-cov==4.0.0',
'pexpect==4.8.0',
'python-libnmap==0.7.0'
]
},
include_package_data=True,
)

0 comments on commit 49a636c

Please sign in to comment.