From ddadd494ef6a6bc166d9111082b774234ae88090 Mon Sep 17 00:00:00 2001 From: Andrew Montanez Date: Thu, 24 Oct 2024 14:54:02 -0500 Subject: [PATCH] Fixing to actually upload both files --- .github/workflows/integration.yml | 1 + .github/workflows/unit.yml | 1 + tasks.py | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 8ef168422..fc28841eb 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -44,4 +44,5 @@ jobs: uses: codecov/codecov-action@v4 with: flags: integration + file: './integration_cov.xml' token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index e603766d3..d08bfb499 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -39,4 +39,5 @@ jobs: uses: codecov/codecov-action@v4 with: flags: unit + file: './unit_cov.xml' token: ${{ secrets.CODECOV_TOKEN }} diff --git a/tasks.py b/tasks.py index a98d438a1..8da125537 100644 --- a/tasks.py +++ b/tasks.py @@ -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