From fce7b853f153013be91005a6ba526cb03efa7201 Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Fri, 26 Jul 2024 22:08:26 +0800 Subject: [PATCH] no message --- .github/workflows/testing_daily.yml | 7 +++++++ requirements/conda_env.yml | 2 ++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/testing_daily.yml b/.github/workflows/testing_daily.yml index 78263df4..539d323f 100644 --- a/.github/workflows/testing_daily.yml +++ b/.github/workflows/testing_daily.yml @@ -41,6 +41,13 @@ jobs: conda info conda list + - name: Replace with the latest PyPOTS code + run: | + python_site_path=`python -c "import site; print(site.getsitepackages()[0])"` + echo "python site-packages path: $python_site_path" + rm -rf $python_site_path/pypots + python -c "import shutil;import site;shutil.copytree('pypots',site.getsitepackages()[0]+'/pypots')" + - name: Test with pytest run: | # run tests separately here due to Segmentation Fault in test_clustering when run all in diff --git a/requirements/conda_env.yml b/requirements/conda_env.yml index ef65315b..180e0136 100644 --- a/requirements/conda_env.yml +++ b/requirements/conda_env.yml @@ -24,6 +24,8 @@ dependencies: - conda-forge::tsdb >=0.6 - conda-forge::benchpots >=0.2 - pytorch::pytorch >=1.10.0 + ## Below we install the latest pypots because we need pypots-cli in it for development. + - conda-forge::pypots # optional - pyg::pyg