From c2b0c358d8d880d165c748125b036486b8f1525b Mon Sep 17 00:00:00 2001 From: Anton Kulaga Date: Wed, 5 Jun 2024 01:31:06 +0300 Subject: [PATCH] trying again to fix ci --- .github/workflows/python-ci.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-ci.yaml b/.github/workflows/python-ci.yaml index 60d2b52..c57d5c4 100644 --- a/.github/workflows/python-ci.yaml +++ b/.github/workflows/python-ci.yaml @@ -21,6 +21,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y curl + mkdir -p $HOME/micromamba curl -L https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj -C $HOME/micromamba --strip-components=1 bin/micromamba env: MAMBA_ROOT_PREFIX: $HOME/micromamba @@ -32,4 +33,10 @@ jobs: MAMBA_ROOT_PREFIX: $HOME/micromamba - name: Set up Micromamba environment - run: echo "MAMBA_ROOT_PREFIX=$HOME/micromamba" >> $GITHUB_ENV \ No newline at end of file + run: echo "MAMBA_ROOT_PREFIX=$HOME/micromamba" >> $GITHUB_ENV + + - name: Install dependencies + run: $HOME/micromamba/micromamba install -n test-env -f environment.yaml -y -c conda-forge + + - name: Run tests + run: $HOME/micromamba/micromamba run -n test-env pytest