Skip to content

Commit 4b44109

Browse files
authored
update workflows: refine pytest configuration, migrate Codecov to updated actions, and enhance test result handling (#17)
1 parent 423986d commit 4b44109

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/stage-lint-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
run: mypy ovmobilebench --ignore-missing-imports
3737

3838
- name: Run tests
39-
run: pytest tests/ -v --cov=ovmobilebench --cov=scripts --cov-report=xml --cov-report=term-missing
39+
run: pytest tests/ -v --cov=ovmobilebench --cov=scripts --junitxml=junit.xml -o junit_family=legacy
4040

41+
- name: Upload coverage to Codecov
42+
uses: codecov/codecov-action@v5
4143

42-
- name: Upload coverage reports to Codecov
43-
uses: codecov/codecov-action@v5.4.3
44-
with:
45-
files: coverage.xml
46-
44+
- name: Upload test results to Codecov
45+
if: ${{ !cancelled() }}
46+
uses: codecov/test-results-action@v1

0 commit comments

Comments
 (0)