Create codecov_workflow.yml

This commit is contained in:
Samuel Sledzieski
2022-06-23 12:55:19 -04:00
committed by GitHub
parent bfc1ec0a93
commit 5af348cd01

23
.github/workflows/codecov_workflow.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: CodeCov
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
env:
OS: ubuntu-latest
PYTHON: '3.7'
steps:
- uses: checkout@v2
with:
fetch-depth: 2
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.7
- name: Generate Report
run: |
pip install coverage
coverage run -m pytest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2