From e1fa7259af5504e728de08654397d9bfc0b2e337 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Mon, 9 Oct 2023 16:16:46 +0200 Subject: [PATCH] Test environment creation --- .github/workflows/test.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6052001..8417e79 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,7 +34,19 @@ jobs: # use either -l or -i to source .bash_profile or .bashrc/.zshrc run: | ${{ matrix.shell }} ${{ matrix.shell-source-param }} -ec micromamba - - name: Test Micromamba + - name: Test Micromamba is found # use either -l or -i to source .bash_profile or .bashrc/.zshrc run: | - ${{ matrix.shell }} ${{ matrix.shell-source-param }} -ec micromamba + ${{ matrix.shell }} ${{ matrix.shell-source-param }} -ec micromamba --help + - name: Test Micromamba is found + # use either -l or -i to source .bash_profile or .bashrc/.zshrc + run: | + ${{ matrix.shell }} ${{ matrix.shell-source-param }} -ec micromamba --help + - name: Test create environment + # use either -l or -i to source .bash_profile or .bashrc/.zshrc + run: | + ${{ matrix.shell }} ${{ matrix.shell-source-param }} -ec micromamba create -c conda-forge -n test python + - name: Test activate environment + # use either -l or -i to source .bash_profile or .bashrc/.zshrc + run: | + ${{ matrix.shell }} ${{ matrix.shell-source-param }} -ec micromamba activate -n test