From 5642f664e45d360adfd8d687200530945e1191a1 Mon Sep 17 00:00:00 2001 From: Daniel Moreno Date: Sun, 21 Jul 2024 18:18:50 +0100 Subject: [PATCH] Fix CI tests run --- .github/workflows/tests.yml | 2 +- setup.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f9c5036..7fe5056 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: ${{ runner.os }}-pip- - name: Install dependencies - run: pip install -r requirements.txt && pip install .[test] + run: pip install -r requirements.txt && pip install .[dev] - name: Run tests run: pytest diff --git a/setup.py b/setup.py index 301b175..583f791 100644 --- a/setup.py +++ b/setup.py @@ -83,5 +83,8 @@ def read(filename, encoding='utf-8'): 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', ], - tests_require=['pytest'] + tests_require=['pytest'], + extras_require={ + 'dev': ['pytest'], + }, )