diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3965d1df..2d6b76d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,8 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11"] - cpuinfo-version: ["5.0.0", "6.0.0", "7.0.0", "8.0.0", "9.0.0"] + python-version: ["3.9", "3.10", "3.11"] runs-on: ubuntu-latest @@ -41,9 +40,6 @@ jobs: - name: Install package dependencies run: pip install -e ".[tests]" - - name: Install specific cpuinfo version (testing) - run: pip install --force-reinstall "py-cpuinfo==${{ matrix.cpuinfo-version }}" - - name: Run Tests run: | herbstluftwm & diff --git a/conftest.py b/conftest.py index 4df12a3a..5d5aeb59 100644 --- a/conftest.py +++ b/conftest.py @@ -15,8 +15,8 @@ def on_gh_actions() -> bool: def pytest_collection_modifyitems(config, items): - skip_gui = pytest.mark.xfail('GUI is not working with pyside6 atm') + skip_gui = pytest.mark.skip('GUI is not working with pyside6 atm') for item in items: - if item.get_clsoest_marker('gui'): + if item.get_closest_marker('gui'): item.add_marker(skip_gui)