-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (39 loc) · 1.08 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
name: latest-dry-run
on: workflow_dispatch
env:
ASSCOM2_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: "*"
channels: conda-forge,bioconda,defaults
auto-activate-base: false
activate-environment: asscom2
environment-file: environment.yaml
- name: check solution
run: |
mamba env export
- name: test installation
run: |
python --version
snakemake --version
./asscom2 --version
./asscom2 --help
- name: dry run
run: |
unzip tests/E._faecium/fna.zip
./asscom2 --config input_genomes="*.fna" --dry-run