-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (34 loc) · 1.05 KB
/
pydamage_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
mamba-version: "*"
channels: conda-forge,bioconda,defaults
channel-priority: true
environment-file: environment.yml
activate-environment: pydamage
- name: Test with pytest
shell: bash -l {0}
run: |
pip install -e .
pip install pytest
pytest
- name: Check pydamage help message
shell: bash -l {0}
run: |
pydamage --help
- name: Check pydamage on test data
shell: bash -l {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