Skip to content

Workflow file for this run

# Generate coverage.xml report and upload it to Codecov
name: Codecov
on: [push]
jobs:
run:
runs-on: ubuntu-latest
env:
OS: ubuntu-latest
PYTHON: '3.11'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.11
- name: Install requirements
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Generate coverage report
run: pytest --cov=./ --cov-report=xml
- name: Upload coverage.xml to Codecov
uses: codecov/codecov-action@v3
with:
# token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true