From 3fcc7f0f95c02d9f82575c73fdd1734f60c41255 Mon Sep 17 00:00:00 2001 From: lgiacome Date: Wed, 4 Dec 2024 17:28:06 +0100 Subject: [PATCH] add missing dependencies and remove useless installs in the test workflow --- .github/workflows/pr_workflow.yaml | 1 - setup.py | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_workflow.yaml b/.github/workflows/pr_workflow.yaml index 17a3ac20..f46b1954 100644 --- a/.github/workflows/pr_workflow.yaml +++ b/.github/workflows/pr_workflow.yaml @@ -19,7 +19,6 @@ jobs: python -m pip install --upgrade pip pip install wheel pip install numpy cython h5py - pip install xtrack xpart xfields nafflib pip install --no-build-isolation .[tests] - name: Run tests run: | diff --git a/setup.py b/setup.py index 40a9b861..66500fcd 100644 --- a/setup.py +++ b/setup.py @@ -44,9 +44,11 @@ 'numpy>=1.0', 'scipy', 'pyyaml', - 'pandas' + 'pandas', + 'xpart', + 'xfields' ], extras_require={ - 'tests': ['pytest', 'PyHEADTAIL'], + 'tests': ['pytest', 'PyHEADTAIL', 'nafflib'], }, )