diff --git a/.github/workflows/testing-all-oses.yml b/.github/workflows/testing-all-oses.yml index 139068a0a..336526565 100644 --- a/.github/workflows/testing-all-oses.yml +++ b/.github/workflows/testing-all-oses.yml @@ -11,16 +11,19 @@ jobs: strategy: fail-fast: false matrix: - os: ["macos-12", "macos-14", "ubuntu-latest", "windows-latest"] + os: ["macos-14", "ubuntu-latest"] order: ["normal", "reverse"] headless-method: ["env QT_QPA_PLATFORM=offscreen"] - include: - - os: "ubuntu-latest" - order: "normal" - headless-method: "xvfb-run" - - os: "ubuntu-latest" - order: "reverse" - headless-method: "xvfb-run" + # os: ["macos-12", "macos-14", "ubuntu-latest", "windows-latest"] + # order: ["normal", "reverse"] + # headless-method: ["env QT_QPA_PLATFORM=offscreen"] + # include: + # - os: "ubuntu-latest" + # order: "normal" + # headless-method: "xvfb-run" + # - os: "ubuntu-latest" + # order: "reverse" + # headless-method: "xvfb-run" steps: # This workaround is necessary because PyFilesystem2 throws an InvalidCharsInPath error: @@ -59,7 +62,7 @@ jobs: cache-environment-key: environment-${{ steps.year-and-week.outputs.year-and-week }} - name: Run tests timeout-minutes: 5 - run: micromamba run -n ci ${{ matrix.headless-method }} pytest -v -n logical --durations=20 --cov=mslib + run: micromamba run -n ci ${{ matrix.headless-method }} pytest -s -v -n logical --durations=20 --cov=mslib ${{ (matrix.order == 'normal' && ' ') || (matrix.order == 'reverse' && '--reverse') }} tests - name: Collect coverage env: diff --git a/tests/_test_mswms/test_mss_plot_driver.py b/tests/_test_mswms/test_mss_plot_driver.py index b4c0143ef..7dae25515 100644 --- a/tests/_test_mswms/test_mss_plot_driver.py +++ b/tests/_test_mswms/test_mss_plot_driver.py @@ -201,6 +201,10 @@ def test_VS_gallery_template(self): # ToDo Test Data have to be written to a random tmp dir and that may become purged afterwards templates_location = os.path.join(mslib.mswms.gallery_builder.DOCS_LOCATION, "plot_examples") sys.path.append(templates_location) + import sys + import pathlib + print(f"{templates_location=}", file=sys.stderr) + print(f'{pathlib.Path(templates_location).rglob("*")=}', file=sys.stderr) from VS_template import VS_Template img = self.plot(VS_Template(driver=self.vsec))