-
Notifications
You must be signed in to change notification settings - Fork 16
31 lines (31 loc) · 974 Bytes
/
main.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
name: CI
on: [push]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: false
use-only-tar-bz2: true
miniforge-version: latest
- name: Install cnv_facets
run: |
mamba init
source ~/.bashrc
mamba create --yes -n cnv_facets
mamba activate cnv_facets
mamba install --yes -c bioconda -c conda-forge cnv_facets
- name: Install vcf_validator
run: |
curl -L -o test/vcf_validator -s https://github.com/EBIvariation/vcf-validator/releases/download/v0.9.1/vcf_validator_linux
chmod a+x test/vcf_validator
./test/vcf_validator --help
- name: Run tests
run: |
source ~/.bashrc
mamba activate cnv_facets
cd test
Rscript testthat.R
python3 test_cnv_facets.py