diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 497387b..084e417 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: - name: Install lxml run: pip install lxml - name: Install python-evtx - run: pip install -e . + run: pip install -e .[test] - name: Run tests run: pytest tests/ diff --git a/setup.py b/setup.py index f9e473d..7f4f07c 100644 --- a/setup.py +++ b/setup.py @@ -23,9 +23,7 @@ packages=setuptools.find_packages(), install_requires=[ 'six', - 'pytest==4.6.11', 'hexdump==3.3', - 'pytest-cov==2.11.1', # pin deps for python 2, see #67 'more_itertools==5.0.0', @@ -33,6 +31,14 @@ 'configparser==4.0.2', 'pyparsing==2.4.7', ], + extras_require={ + # For running unit tests & coverage + "test": [ + 'pytest-cov==2.11.1', + 'pytest==4.6.11', + 'lxml==4.6.3', + ] + }, scripts=['scripts/evtx_dump.py', 'scripts/evtx_dump_chunk_slack.py', 'scripts/evtx_eid_record_numbers.py',