Skip to content

Merge pull request #73 from khurrammaqbool/master #88

Merge pull request #73 from khurrammaqbool/master

Merge pull request #73 from khurrammaqbool/master #88

Workflow file for this run

name: CI
on: ["push", "pull_request"]
jobs:
tests:
name: "Python ${{ matrix.python-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: "${{ matrix.python-version }}"
- name: Install package and run unit tests
run: |
pip install .
pip install pytest-cov
pytest --cov=svdb --cov-report xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests