Skip to content

Codecov

Codecov #10

Workflow file for this run

name: Codecov
on: workflow_dispatch
jobs:
run-codecov:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Generate coverage report
run: |
pip install pytest
pip install pytest-cov
pytest --cov=configargparser --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
verbose: true