From ced9a465ce668d674258aa5c6ef31066fbc66be9 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Sun, 15 Mar 2020 17:35:12 -0500 Subject: [PATCH] Add JSON to workspace converter test to CI --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc1792f..eb68ee4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,6 +72,17 @@ jobs: - name: Test with pytest run: | python -m pytest -r sx tests + - name: Test workspace comparison + run: | + bash scripts/JSON_to_workspace.sh \ + sbottom \ + https://doi.org/10.17182/hepdata.89408.v1/r2 \ + RegionA/BkgOnly.json \ + RegionA/patch.sbottom_1300_205_60.json \ + RegionA/sbottom_1300_205_60.json + bash tests/test_suite.sh \ + sbottom/xml/config/FitConfig_combined_NormalMeasurement_model.root \ + sbottom/workspaces/RegionA/sbottom_1300_205_60.json docker: