From 9bdebd29cadc02e2463b3460bf7f24bd98158a7f Mon Sep 17 00:00:00 2001 From: Vineet Bansal Date: Fri, 9 Aug 2024 15:34:26 -0400 Subject: [PATCH] pip installing package in CI (#5) --- .github/workflows/build.yml | 3 +++ tests/test_paste.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3db6a1b..235c5b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,5 +33,8 @@ jobs: activate-environment: paste environment-file: environment.yml + - name: Install package + run: pip install . + - name: Pytest run: pytest \ No newline at end of file diff --git a/tests/test_paste.py b/tests/test_paste.py index 5c1d30a..c5e63cf 100644 --- a/tests/test_paste.py +++ b/tests/test_paste.py @@ -6,7 +6,7 @@ import pandas as pd import tempfile -from src.paste import pairwise_align, center_align, center_ot, intersect, center_NMF +from paste import pairwise_align, center_align, center_ot, intersect, center_NMF test_dir = Path(__file__).parent input_dir = test_dir / "data/input"