diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 915d89d..0024217 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -26,7 +26,7 @@ jobs: run: | git submodule add --force https://code.ornl.gov/sns-hfir-scse/infrastructure/test-data/liquidsreflectometer-data.git tests/data/liquidsreflectometer-data git submodule update --init - python -m pytest -vv --cov=. --cov-report=xml --cov-report=term test + python -m pytest -vv --cov=. --cov-report=xml --cov-report=term test/test_reduction.py::test_info - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: diff --git a/reduction/test/test_reduction.py b/reduction/test/test_reduction.py index 1e0b672..5e29804 100644 --- a/reduction/test/test_reduction.py +++ b/reduction/test/test_reduction.py @@ -31,6 +31,10 @@ def test_info(nexus_dir): Test utility functions to get basic info """ with amend_config(data_dir=nexus_dir): + from mantid.kernel import ConfigService + config = ConfigService.Instance() + print(f"\nMANTID DATA DIRS = {config['datasearch.directories']}\n") + ws_sc = mtd_api.Load(f"{nexus_dir}/REF_L_198409.nxs.h5") ws_sc = mtd_api.Load("REF_L_198409") wl_min, wl_max = event_reduction.get_wl_range(ws_sc) assert(wl_min == 13.7)