fix div zero error #658
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy Package | |
on: | |
push: | |
tags: | |
- '*' | |
branches: | |
- main | |
- dev | |
- lukasdev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', 3.9, 3.8] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade setuptools wheel | |
pip install -r requirements_dev.txt | |
- name: Build Package | |
run: | | |
python setup.py sdist bdist_wheel | |
- name: Install Samtools | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y samtools | |
- name: Run tests | |
run: pytest | |
# - name: Python flake8 Lint | |
# uses: py-actions/[email protected] | |