From f4930cf6a9992075522359add36c53d2ad722bf7 Mon Sep 17 00:00:00 2001 From: Derek Homeier Date: Tue, 5 Apr 2022 17:11:04 +0200 Subject: [PATCH] Marked `test_save_tour` xfail --- .github/workflows/ci_tests.yml | 26 ++++++++---------------- glue_wwt/viewer/tests/test_wwt_widget.py | 3 ++- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index cbebb84d..a3c3f3c2 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -12,6 +12,9 @@ jobs: # Standard tests - macos: py36-test - macos: py37-test + - macos: py38-test + - macos: py39-test + - macos: py310-test windows: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 @@ -20,6 +23,7 @@ jobs: # Standard tests - windows: py38-test - windows: py39-test + - windows: py310-test linux: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 @@ -41,30 +45,16 @@ jobs: - linux: codestyle # Standard tests - linux: py36-test + - linux: py37-test + - linux: py38-test + - linux: py39-test + - linux: py310-test allowed_failures: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 with: display: true - libraries: | - apt: - - libxkbcommon-x11-0 - - libxcb-icccm4 - - libxcb-image0 - - libxcb-keysyms1 - - libxcb-randr0 - - libxcb-render-util0 - - libxcb-xfixes0 - - libxcb-xinerama0 envs: | # Tests allowed to fail - - linux: py37-test - - linux: py38-test - - linux: py39-test - - linux: py310-test - - macos: py38-test - - macos: py39-test - - macos: py310-test - windows: py36-test - windows: py37-test - - windows: py310-test diff --git a/glue_wwt/viewer/tests/test_wwt_widget.py b/glue_wwt/viewer/tests/test_wwt_widget.py index a40f1738..77f3afcc 100644 --- a/glue_wwt/viewer/tests/test_wwt_widget.py +++ b/glue_wwt/viewer/tests/test_wwt_widget.py @@ -153,7 +153,8 @@ def test_remove_layer(self): assert subset_layer.wwt_client.layers.add_table_layer.call_count == 0 assert subset_layer.wwt_layer is None - @pytest.mark.skipif(sys.platform == 'win32', reason="Test causes issues on Windows") + # @pytest.mark.skipif(sys.platform == 'win32', reason="Test causes issues on Windows") + @pytest.mark.xfail(reason="'asynchronous' keyword unsupported by some JavaScript versions") def test_save_tour(self, tmpdir): filename = tmpdir.join('mytour.wtt').strpath