-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (41 loc) · 1.38 KB
/
pipeline-tests.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
38
39
40
41
42
43
44
45
name: denv_pipeline
on: [push, pull_request]
defaults:
run:
shell: bash -el {0}
jobs:
run_pipeline_tests:
name: analysis_pipeline test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: environment.yml
activate-environment: analysis_env
channels: conda-forge,bioconda,defaults
conda-version: "*"
- name: install pipeline
run: pip install -e .
- name: run_dry_run
working-directory: tests
run: denv_pipeline --config dry_run_config.yml --dry-run
- name: test_setup
working-directory: tests
run: python scripts/unit_tests_dry_run.py
\--in-config dry_run_config.yml
\--out-config test_output_dry_run/output_config.yml
\--outdir test_output_dry_run
- name: install snakemake dependencies
run: python -m pip install --upgrade pip pandas
- name: run_full
working-directory: tests
run: denv_pipeline --config base_run_config.yml
- name: test_results
working-directory: tests
run: python scripts/unit_tests_results.py
\--outdir test_output_full_run/results
\--depth 10