Skip to content

Commit

Permalink
adding codecov test
Browse files Browse the repository at this point in the history
  • Loading branch information
opsiorobinostlund committed Feb 13, 2022
1 parent 2853170 commit fcbf75f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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.7
- name: Generate Report
run: |
pip install coverage
coverage run -m unittest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v1
with:
ignore:
- "*/tests/*”
File renamed without changes.
File renamed without changes.

0 comments on commit fcbf75f

Please sign in to comment.