Skip to content

Add additional htscodecs sources #174

Add additional htscodecs sources

Add additional htscodecs sources #174

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Run tests on Python ${{ matrix.python-version }}
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
pip install -r requirements.txt
pip install pytest pytest-cov
git submodule update --init --recursive
cd htslib
autoheader && autoconf && autoreconf --install
./configure --enable-s3 --disable-lzma --disable-bz2
make version.h && make
cd ..
CYTHONIZE=1 python setup.py build_ext -i
- name: Test
run: |
pytest --cov cyvcf2 --cov-report term-missing