diff --git a/.github/workflows/pdp_cicd.yml b/.github/workflows/pdp_cicd.yml index 5ac61c09..a561bba2 100644 --- a/.github/workflows/pdp_cicd.yml +++ b/.github/workflows/pdp_cicd.yml @@ -19,8 +19,6 @@ jobs: - name: Run Pytests run: | - export PYTHONPATH=$(pwd) python -m pip install --upgrade pip - pip install -r requirements.txt -r requirements-dev.txt - python setup.py install + pip install ".[dev]" pytest -s --cache-clear horizon/tests/ diff --git a/requirements-dev.txt b/requirements-dev.txt index 5de2378b..bbcce292 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,3 @@ pytest -aioresponses pytest-asyncio -aiohttp>=3.9.4,<4 +aioresponses diff --git a/setup.py b/setup.py index de7da89e..b6189fb6 100644 --- a/setup.py +++ b/setup.py @@ -33,5 +33,7 @@ def get_data_files(root_directory: str): include_package_data=True, data_files=get_data_files("horizon/static"), install_requires=get_requirements(), - # dev_requires=get_requirements("dev"), + extras_require={ + "dev": get_requirements("dev"), + }, )