From 855d4fd673550982555034c0bdf604986090d759 Mon Sep 17 00:00:00 2001 From: Alexander Nesterov Date: Sun, 17 Aug 2025 03:45:53 +0200 Subject: [PATCH] update workflows: refine pytest configuration, migrate Codecov to updated actions, and enhance test result handling --- .github/workflows/stage-lint-test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/stage-lint-test.yml b/.github/workflows/stage-lint-test.yml index 3ad985c..9122618 100644 --- a/.github/workflows/stage-lint-test.yml +++ b/.github/workflows/stage-lint-test.yml @@ -36,11 +36,11 @@ jobs: run: mypy ovmobilebench --ignore-missing-imports - name: Run tests - run: pytest tests/ -v --cov=ovmobilebench --cov=scripts --cov-report=xml --cov-report=term-missing + run: pytest tests/ -v --cov=ovmobilebench --cov=scripts --junitxml=junit.xml -o junit_family=legacy + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v5 - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5.4.3 - with: - files: coverage.xml - + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1