Skip to content

Commit

Permalink
Fixing to actually upload both files
Browse files Browse the repository at this point in the history
  • Loading branch information
amontanez24 committed Oct 24, 2024
1 parent cfc7c43 commit ddadd49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ jobs:
uses: codecov/codecov-action@v4
with:
flags: integration
file: './integration_cov.xml'
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ jobs:
uses: codecov/codecov-action@v4
with:
flags: unit
file: './unit_cov.xml'
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ def check_dependencies(c):

@task
def unit(c):
c.run('python -m pytest ./tests/unit --cov=sdv --cov-report=xml')
c.run('python -m pytest ./tests/unit --cov=sdv --cov-report=xml:./unit_cov.xml')


@task
def integration(c):
c.run('python -m pytest ./tests/integration --reruns 3')
c.run('python -m pytest ./tests/integration --reruns 3 --cov=sdv --cov-report=xml:./integration_cov.xml')


@task
Expand Down

0 comments on commit ddadd49

Please sign in to comment.