From 62f9ce3a5d821f4aa1a3b05075e13da874c06be7 Mon Sep 17 00:00:00 2001 From: Ro'e Katz Date: Wed, 9 Oct 2024 15:13:08 +0300 Subject: [PATCH] That should work best --- .github/workflows/pdp_cicd.yml | 4 +--- requirements-dev.txt | 3 +-- setup.py | 4 +++- 3 files changed, 5 insertions(+), 6 deletions(-) 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"), + }, )