From e8c0123e07e0a045369dd1b74e1a8cea03e82c29 Mon Sep 17 00:00:00 2001 From: Javid Ahmed Date: Thu, 10 Oct 2024 00:44:17 +0100 Subject: [PATCH] Update test dependencies --- .github/workflows/ci.yml | 2 +- pyproject.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c94bedc..0c0a5be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e . + pip install -e .[test] - name: Test with pytest run: | python -m pytest -vx diff --git a/pyproject.toml b/pyproject.toml index b857492..db0cc17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,9 +26,12 @@ dependencies = [ [project.optional-dependencies] dev = [ "ruff", + "ipykernel", +] + +test = [ "pytest", "pytest-cov", - "ipykernel", ] [project.urls]