From 42167d8ffc1d71358fd014731ee254150a82cc8a Mon Sep 17 00:00:00 2001 From: drew2a Date: Wed, 5 Jul 2023 19:56:51 +0200 Subject: [PATCH] Disable `looptime` for windows --- .github/workflows/vars/pytest.env | 6 +++--- requirements-test.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/vars/pytest.env b/.github/workflows/vars/pytest.env index a14947a5b26..dd7bed86d1b 100644 --- a/.github/workflows/vars/pytest.env +++ b/.github/workflows/vars/pytest.env @@ -1,16 +1,16 @@ PYTEST_ARGUMENTS='--randomly-seed=1 --disable-warnings --reruns 1 --reruns-delay 1 --verbose --durations=3' PYTEST_CORE_ARGUMENTS='./src/tribler/core ${PYTEST_ARGUMENTS}' -PYTEST_CORE_ARGUMENTS_WIN='${PYTEST_CORE_ARGUMENTS} --no-looptime' +PYTEST_CORE_ARGUMENTS_WIN='${PYTEST_CORE_ARGUMENTS}' PYTEST_CORE_ARGUMENTS_LINUX='${PYTEST_CORE_ARGUMENTS} --looptime' PYTEST_CORE_ARGUMENTS_MAC='${PYTEST_CORE_ARGUMENTS} --looptime' PYTEST_TUNNELS_ARGUMENTS='./src/tribler/core/components/tunnel/tests/test_full_session --tunneltests ${PYTEST_ARGUMENTS}' -PYTEST_TUNNELS_ARGUMENTS_WIN='${PYTEST_TUNNELS_ARGUMENTS} --no-looptime' +PYTEST_TUNNELS_ARGUMENTS_WIN='${PYTEST_TUNNELS_ARGUMENTS}' PYTEST_TUNNELS_ARGUMENTS_LINUX='${PYTEST_TUNNELS_ARGUMENTS} --looptime' PYTEST_TUNNELS_ARGUMENTS_MAC='${PYTEST_TUNNELS_ARGUMENTS} --looptime' PYTEST_GUI_ARGUMENTS='./src/tribler/gui --guitests ${PYTEST_ARGUMENTS}' -PYTEST_GUI_ARGUMENTS_WIN='${PYTEST_GUI_ARGUMENTS} --no-looptime' +PYTEST_GUI_ARGUMENTS_WIN='${PYTEST_GUI_ARGUMENTS}' PYTEST_GUI_ARGUMENTS_LINUX='${PYTEST_GUI_ARGUMENTS} --looptime' PYTEST_GUI_ARGUMENTS_MAC='${PYTEST_GUI_ARGUMENTS} --looptime' diff --git a/requirements-test.txt b/requirements-test.txt index 05f075113b2..69ab133b9b8 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -13,7 +13,7 @@ pytest-profiling==1.7.0 # for pytest profiling freezegun==1.2.2 coverage==7.2.7 -looptime==0.2 +looptime==0.2 ; sys_platform != 'win32' scipy==1.10.1