From adfc7f3ab23987600e3d32cc0b220625e49b3aca Mon Sep 17 00:00:00 2001 From: AnHeuermann <38031952+AnHeuermann@users.noreply.github.com> Date: Sun, 28 Sep 2025 13:00:20 +0200 Subject: [PATCH 1/2] Validate JSON CI --- .github/workflows/check_json.yml | 25 +++++++++++++++++++++++++ .github/workflows/test.yml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/check_json.yml diff --git a/.github/workflows/check_json.yml b/.github/workflows/check_json.yml new file mode 100644 index 0000000..e9f0463 --- /dev/null +++ b/.github/workflows/check_json.yml @@ -0,0 +1,25 @@ +name: Check JSON Validity + +on: + pull_request: + push: + branches: + - master + +jobs: + validate-json: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Python3 + uses: actions/setup-python@v5 + + - name: Validate JSON files + run: | + set -e + for file in $(find configs/ -type f -name "*.json"); do + echo "Checking $file" + python3 -m json.tool "$file" > /dev/null + done diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fbce93..4733356 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ on: push: branches: - master - tags: '*' + tags: ['*'] jobs: test: From be994c74c0764206d998658c7f29589eb2bd3fbc Mon Sep 17 00:00:00 2001 From: AnHeuermann <38031952+AnHeuermann@users.noreply.github.com> Date: Sun, 28 Sep 2025 13:03:43 +0200 Subject: [PATCH 2/2] Fixing JSON file Fixing error introduced in PR #231 --- configs/conf.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/conf.json b/configs/conf.json index a35e778..2cc5167 100644 --- a/configs/conf.json +++ b/configs/conf.json @@ -226,9 +226,9 @@ "library":"Chemical" }, { - "library":"Chemical" + "library":"Chemical", "libraryVersion":"master", - "libraryVersionNameForTests":"master", + "libraryVersionNameForTests":"master" }, { "library":"ClaRa",