From 9d7d79569a08214eaf425b76d810928fad3e0897 Mon Sep 17 00:00:00 2001 From: Maria Katsantoni <31883096+mkatsanto@users.noreply.github.com> Date: Wed, 29 Mar 2023 10:51:53 +0200 Subject: [PATCH] patch: addition of zarp-cli basic testing (#125) --- .github/workflows/ci.yml | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d614a8e..80186dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -203,4 +203,40 @@ jobs: run: bash tests/test_integration_workflow_with_conda/test.local.sh - name: Run SRA downloads workflow - run: bash tests/test_sra_download_with_conda/test.local.sh \ No newline at end of file + run: bash tests/test_sra_download_with_conda/test.local.sh + + zarp_cli: + needs: + - snakemake-graphs-format + runs-on: ubuntu-20.04 + defaults: + run: + shell: bash -l {0} + steps: + + - name: Checkout zarp repository + uses: actions/checkout@v3 + + - name: Setup miniconda & zarp env + uses: conda-incubator/setup-miniconda@v2 + with: + python-version: "3.10" + mamba-version: "*" + channels: conda-forge + channel-priority: true + auto-update-conda: false + activate-environment: zarp + environment-file: install/environment.yml + auto-activate-base: false + + - name: Update zarp env with dev. packages + run: mamba env update -n zarp -f install/environment.dev.yml + - name: Update zarp env with ZARP-cli + run: mamba env update -n zarp -f install/environment.cli.yml + + - name: Display all miniconda & env info + run: | + conda info -a + conda list + - name: Run test script + run: zarp --help