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: 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",