Skip to content

ensure files sorted in test #9

ensure files sorted in test

ensure files sorted in test #9

Workflow file for this run

name: pytest
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv codecov pytest pytest-cov pytest-metadata pytest-mock pytest-subtests six
pip install --no-index --no-deps resources/home/dnanexus/packages/*
pipenv install --dev
- name: Build bcftools
run: |
wget https://github.com/samtools/bcftools/releases/download/1.18/bcftools-1.18.tar.bz2
tar xf bcftools-1.18.tar.bz2
cd bcftools-1.18
./configure --prefix=/usr/local/
sudo make
sudo make install
- name: Build htslib
run: |
wget https://github.com/samtools/htslib/releases/download/1.18/htslib-1.18.tar.bz2
tar xf htslib-1.18.tar.bz2
cd htslib-1.18
./configure --prefix=/usr/local/
sudo make
sudo make install
- name: Test with pytest
run: |
pytest -v --cov resources/home/dnanexus/generate_gcnv_bed/tests/unit/