-
Notifications
You must be signed in to change notification settings - Fork 3
69 lines (52 loc) · 1.87 KB
/
dry-run.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: latest-dry-run
on: workflow_dispatch
env:
COMPAREM2_PROFILE: "profile/conda/default"
jobs:
create-env:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: create environment with mamba
uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "<2"
channels: conda-forge,bioconda,defaults
auto-activate-base: false
activate-environment: comparem2_launcher
environment-file: environment.yaml
- name: check solution
run: |
mamba env export
- name: test installation
run: |
python --version
snakemake --version
./comparem2 --help
./comparem2 --version
./comparem2 --cite
./comparem2 --status
- name: dry run
run: |
./comparem2 --dry-run
./comparem2 --until metadata
rm -rf .snakemake results_comparem2
touch dummy_1.fa; ./comparem2 --dry-run
touch dummy_2.fa; ./comparem2 --dry-run
touch dummy_3.fa; ./comparem2 --dry-run
unzip tests/E._faecium/fna.zip
./comparem2 --config input_genomes="*.fna" --dry-run
./comparem2 --config input_genomes="*.fna" --until fast --dry-run
./comparem2 --config input_genomes="*.fna" --until isolate --dry-run
./comparem2 --config input_genomes="*.fna" --until meta --dry-run
./comparem2 --config input_genomes="*.fna" --until downloads --dry-run
ls dummy_{2,3}.fa > fofn.txt; ./comparem2 --config fofn="fofn.txt" --dry-run