summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-07-12 22:57:23 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-07-12 23:05:46 +0200
commit32608d10e47a4e7bdb36495f05e403271df1de58 (patch)
treeb00a4170fc3395965e1d035b887fcf3fc1b99d35 /tests/conftest.py
parentd6b49453392ef873b5a95db32feb31005ded6c6a (diff)
downloadqutebrowser-32608d10e47a4e7bdb36495f05e403271df1de58.tar.gz
qutebrowser-32608d10e47a4e7bdb36495f05e403271df1de58.zip
ci: Use helper functions to begin/end GitHub Action groups
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index c6857c385..e8cfdf0d3 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -316,8 +316,9 @@ def pytest_runtest_makereport(item, call):
def pytest_terminal_summary(terminalreporter):
"""Group benchmark results on CI."""
if testutils.ON_CI:
- terminalreporter.write_line("::group::Benchmark results")
+ terminalreporter.write_line(
+ testutils.gha_group_begin('Benchmark results'))
yield
- terminalreporter.write_line("::endgroup::")
+ terminalreporter.write_line(testutils.gha_group_end())
else:
yield