Skip to content

Bump pytest-cov from 4.1.0 to 5.0.0 (#281) #106

Bump pytest-cov from 4.1.0 to 5.0.0 (#281)

Bump pytest-cov from 4.1.0 to 5.0.0 (#281) #106

Workflow file for this run

name: codecov
on:
push:
branches:
- master
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r test-requirements.txt
- name: Generate coverage report
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml