Skip to content

Merge pull request #85 from oxfordmmm/vcf-subset-2.0.0 #395

Merge pull request #85 from oxfordmmm/vcf-subset-2.0.0

Merge pull request #85 from oxfordmmm/vcf-subset-2.0.0 #395

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
name: Run Python Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup timezone
uses: zcong1993/setup-timezone@master
with:
timezone: UTC
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install .
pip3 install black ruff mypy pandas-stubs typing_extensions types-tqdm types-pytz
- name: Run format checks
run: |
black --check .
ruff check gnomonicus
mypy gnomonicus
- name: Test with pytest
run: |
pytest --exitfirst --verbose --failed-first \
--cov=. --cov-report html