From 24f69b5c16376f39e92d327f90eabb871ade7c43 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Mon, 2 Sep 2024 09:53:16 +0100 Subject: [PATCH] fix conda environment.yml - fixes #95 --- .github/workflows/run.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 504a616..8cfadb1 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -22,7 +22,8 @@ jobs: xargs -a apt.txt sudo apt-get install -y fi if test -f environment.yml; then - conda install --file environment.yml + sed -i '/^name:.*/d' environment.yml + conda env update fi if test -f requirements.txt; then pip install -r requirements.txt