diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 9c5bceb..a8f8c22 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -29,7 +29,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install .[test] + pip install .[test,mongodb] - name: Unit Tests run: | pytest tests --doctest-modules --junitxml=tests/unit-test-results.xml diff --git a/requirements/mongodb.txt b/requirements/mongodb.txt new file mode 100644 index 0000000..923342c --- /dev/null +++ b/requirements/mongodb.txt @@ -0,0 +1 @@ +pymongo~=4.0 \ No newline at end of file diff --git a/setup.py b/setup.py index c0e8b4e..b3a8a67 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,8 @@ def get_requirements(requirements_filename: str): include_package_data=True, install_requires=get_requirements("requirements.txt"), extras_require={"test": get_requirements("test_requirements.txt"), - "mq": get_requirements("mq.txt")}, + "mq": get_requirements("mq.txt"), + "mongodb": get_requirements("mongodb.txt")}, zip_safe=True, classifiers=[ 'Intended Audience :: Developers',