Skip to content

Commit

Permalink
Merge pull request #197 from MaxGhenis/codecov
Browse files Browse the repository at this point in the history
Add Codecov GitHub Action
  • Loading branch information
MaxGhenis committed Feb 27, 2021
2 parents b487309 + 8e81351 commit 0760dfe
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CodeCov
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
env:
OS: ubuntu-latest
PYTHON: '3.9'
steps:
- uses: checkout@v2
with:
fetch-depth: ‘2’

- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Generate Report
run: |
pip install coverage
coverage run -m unittest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v1
Empty file added codecov.yml
Empty file.

0 comments on commit 0760dfe

Please sign in to comment.