Skip to content

Update README for code coverage #16

Update README for code coverage

Update README for code coverage #16

Workflow file for this run

name: Python Code Coverage
on: [push, pull_request]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install coverage
- name: Run tests with coverage
run: coverage run -m pytest
- name: Generate coverage report
run: coverage report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}