Skip to content

Install the CodeSee workflow. Learn more at https://docs.codesee.io #682

Install the CodeSee workflow. Learn more at https://docs.codesee.io

Install the CodeSee workflow. Learn more at https://docs.codesee.io #682

name: Codecov Check

Check failure on line 1 in .github/workflows/test-with-codecov.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-with-codecov.yml

Invalid workflow file

`pull-request` is not a valid event name
on: [pull-request]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
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 requirements.txt
pip install pytest-cov
pytest --cov=./ --cov-report=xml
codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON
fail_ci_if_error: true
flags: unittests
name: codecov-umbrella
verbose: true