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 fcbf75f commit 906c3b8
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
name: "CodeCov"
on: [push, pull_request]
jobs:
run:
analyze:
name: Analyze
runs-on: ubuntu-latest
env:
OS: ubuntu-latest
PYTHON: '3.9'

steps:
- uses: checkout@v2
with:
fetch-depth: ‘2’
- name: Checkout repository
uses: actions/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: 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/*”
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
with:

0 comments on commit 906c3b8

Please sign in to comment.