Skip to content

Commit 39c6e63

Browse files
see what pytest was called with
1 parent a2b61f3 commit 39c6e63

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

ci_l10n_pyproject_headed.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ markers = [
1717
testpaths = [
1818
"l10n_CM/Unified"
1919
]
20-
addopts = "-vs --ci --json-report --json-report-file artifacts/report_headed.json --reruns 3 --reruns-delay 2 -m 'not incident and not unstable and headed' --html=artifacts/report_headed.html"
20+
addopts = "-vs --ci --json-report --json-report-file artifacts/report_headed.json --reruns 3 --reruns-delay 2 --html=artifacts/report_headed.html"
2121

2222
[tool.ruff]
2323
target-version = "py310"

ci_pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ testpaths = [
1818
"tests",
1919
"l10n_CM/Unified"
2020
]
21-
addopts = "-vs --run-headless --json-report --json-report-file artifacts/report.json --reruns 3 --reruns-delay 3 -m 'not incident and not unstable and not headed' --html=artifacts/report.html"
21+
addopts = "-vs --ci --run-headless --json-report --json-report-file artifacts/report.json --reruns 3 --reruns-delay 3 -m 'not incident and not unstable and not headed' --html=artifacts/report.html"
2222

2323
[tool.ruff]
2424
target-version = "py310"

conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@ def test_case():
313313

314314
def pytest_configure(config):
315315
# Check if run is "reportable": if it is on a never-reported Fx version
316+
logging.warning("Invoked with options:", config.invocation_params.args)
317+
logging.warning("Invoked with file paths:", config.args)
318+
logging.warning("Full invocation:", config.invocation_params)
316319
if os.environ.get("TESTRAIL_REPORT"):
317320
logging.warning("Checking to see if session would be reportable...")
318321
if os.environ.get("TASKCLUSTER_ROOT_URL") and os.environ.get("FX_EXECUTABLE"):

0 commit comments

Comments
 (0)