From d3e0e28ce358dc3c220986050bd559f844da4bd0 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 14 Oct 2024 09:53:49 -0400 Subject: [PATCH] Do not skip CI tests on missing tools. --- .github/workflows/api.yaml | 1 + lib/galaxy_test/api/test_tools.py | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index 8eb5a2dd564a..0ca4399f9314 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -18,6 +18,7 @@ env: GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' GALAXY_CONFIG_SQLALCHEMY_WARN_20: '1' + GALAXY_TEST_REQUIRE_ALL_NEEDED_TOOLS: '1' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/lib/galaxy_test/api/test_tools.py b/lib/galaxy_test/api/test_tools.py index 46c6cdad3473..b99a059a65a7 100644 --- a/lib/galaxy_test/api/test_tools.py +++ b/lib/galaxy_test/api/test_tools.py @@ -29,7 +29,6 @@ BaseDatasetCollectionPopulator, DatasetCollectionPopulator, DatasetPopulator, - LibraryPopulator, skip_without_tool, stage_rules_example, ) @@ -1027,18 +1026,6 @@ def test_data_column_defaults(self): content = self.dataset_populator.get_history_dataset_content(history_id, dataset=output[0]) assert "parameter: 1,2" in content - @skip_without_tool("library_data") - def test_library_data_param(self): - with self.dataset_populator.test_history(require_new=False) as history_id: - ld = LibraryPopulator(self.galaxy_interactor).new_library_dataset("lda_test_library") - inputs = {"library_dataset": ld["ldda_id"], "library_dataset_multiple": [ld["ldda_id"], ld["ldda_id"]]} - response = self._run("library_data", history_id, inputs, assert_ok=True) - output = response["outputs"] - output_content = self.dataset_populator.get_history_dataset_content(history_id, dataset=output[0]) - assert output_content == "TestData\n", output_content - output_multiple_content = self.dataset_populator.get_history_dataset_content(history_id, dataset=output[1]) - assert output_multiple_content == "TestData\nTestData\n", output_multiple_content - @skip_without_tool("cat1") def test_run_cat1(self): with self.dataset_populator.test_history(require_new=False) as history_id: