Skip to content

Merge pull request #403 from redhat-performance/development #6

Merge pull request #403 from redhat-performance/development

Merge pull request #403 from redhat-performance/development #6

Workflow file for this run

name: Codecov
on:
push:
branches: [master]
pull_request:
branches: [development]
jobs:
run:
runs-on: ubuntu-latest
env:
PYTHON: '3.9'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Generate coverage report
run: |
pip install -r tests/test-requirements.txt
PYTHONPATH=src pytest --cov=./ --cov-report=xml --cov-config=.coveragerc -p no:warnings
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
env_vars: PYTHON
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
verbose: true