Skip to content

update test

update test #120

Workflow file for this run

name: coverage
on: [push, pull_request]
jobs:
run:
name: Coverage Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-python@main
with:
python-version: '3.10'
- name: Install requirements
run: |
pip install pyfaidx==0.5.8
pip install pytest
pip install gcovr
- name: Generate coverage report
run: |
python setup.py build_ext -i --debug
pytest tests
gcovr --filter src/ --xml -o coverage.xml
- name: Upload Coverage to CodeCov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
files: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true