Skip to content

Commit 13d88b6

Browse files
authored
Add back raw totals in JSON reports (#281)
1 parent b505df9 commit 13d88b6

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.github/workflows/rocm-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ jobs:
6060
path: ./dist/*.whl
6161
- name: Run tests
6262
env:
63-
ROCM_TEST_INCLUDE_SKIPS: "1"
6463
GPU_COUNT: "8"
6564
GFX: "gfx90a"
6665
run: |

tests/conftest.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
import os
21
import pytest
32

43

5-
INCLUDE_SKIPS = os.getenv("ROCM_TEST_INCLUDE_SKIPS", default=False)
6-
74
@pytest.hookimpl(optionalhook=True)
85
def pytest_json_modifyreport(json_report):
96
"""Get rid of skipped tests in reporting. We only care about xfails."""
10-
if (not INCLUDE_SKIPS
11-
and "summary" in json_report
12-
and "total" in json_report["summary"]):
7+
if "summary" in json_report and "total" in json_report["summary"]:
138
json_report["summary"]["unskipped_total"] = json_report["summary"]["total"] - json_report["summary"].get("skipped", 0)
14-
del json_report["summary"]["total"]

0 commit comments

Comments
 (0)