Skip to content

adding coverage 3

adding coverage 3 #5

Workflow file for this run

name: CodeCov
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coverage
- name: run tests and coverage
run: |
coverage run -m unittest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2