From 3b67eb1c7993f26cb5f96e31d20e7adf68d06520 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sun, 29 Dec 2024 15:09:58 +0100 Subject: [PATCH] Remove test on Windows and Python 3.13 --- .github/workflows/test.yml | 3 ++- tests/conftest.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 28829da3e..8e3427b44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,7 +70,8 @@ jobs: runs-on: windows-2022 strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + # Windows-curses not available for Python 3.13 for the moment + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/tests/conftest.py b/tests/conftest.py index 644852db6..0c3f7b3e0 100755 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -46,7 +46,7 @@ def glances_stats(): stats.end() -@pytest.fixture(scope="session") +@pytest.fixture(scope="module") def glances_stats_no_history(): core = GlancesMain(args_begin_at=2) args = core.get_args()