Skip to content

ci: replace by micromamba #223

ci: replace by micromamba

ci: replace by micromamba #223

Workflow file for this run

name: pydamage_ci
on: [push, pull_request]
jobs:
pydamage_ci:
name: pydamage_testing
runs-on: 'ubuntu-latest'
if: "!contains(github.event.head_commit.message, '[skip_ci]')"
steps:
- uses: actions/checkout@v2
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
environment-name: pydamage
init-shell: >-
bash
cache-environment: true
post-cleanup: 'all'
- name: Test with pytest
shell: bash -el {0}
run: |
pip install -e .
pip install pytest
pytest
- name: Check pydamage help message
shell: bash -el {0}
run: |
pydamage --help
- name: Check pydamage on test data
shell: bash -el {0}
run: |
pydamage analyze --verbose tests/data/aligned.bam
pydamage filter pydamage_results/pydamage_results.csv
pydamage analyze -f -g tests/data/aligned.bam
pydamage cite