Skip to content

chore: test ci

chore: test ci #183

Workflow file for this run

name: Unit tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
container:
image: python:${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel coverage
pip install virtualenv tox==3.26.0 tox-wheel==1.0.0 tox-gh-actions
- name: Build, install and run unit tests
run: |
pip install -r requirements.txt
pip install --force-reinstall "numpy==1.24.4"
pip install --no-cache-dir --force-reinstall --no-binary :all: cyvcf2
coverage run -m unittest discover vafator.tests
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3