Skip to content

Commit

Permalink
update codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Oct 2, 2023
1 parent 3bf456d commit 830a790
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,17 @@ jobs:
pip install .[lgpl]
- name: Run unittests with padatious
run: |
pytest --cov=ovos_core --cov-report xml test/unittests/skills
pytest --cov-append --cov=ovos_core --cov-report xml test/unittests/skills
- name: Upload coverage
if: "${{ matrix.python-version == '3.9' }}"
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
fail_ci_if_error: true
files: ./coverage.xml,!./cache
flags: unittests
name: codecov-umbrella
verbose: true

0 comments on commit 830a790

Please sign in to comment.