Skip to content

Commit

Permalink
patch: addition of zarp-cli basic testing (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatsanto authored Mar 29, 2023
1 parent 4b52d4d commit 9d7d795
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 9d7d795

Please sign in to comment.