tests: Added tests for constants and tips checking

This commit is contained in:
WerWolv
2022-06-23 17:57:45 +02:00
parent f84e192774
commit bfc471f4e5
4 changed files with 127 additions and 2 deletions

View File

@@ -33,6 +33,10 @@ jobs:
${PKGCONF:-} \
cmake \
make \
python3 \
python3-pip
sudo pip install jsonschema
- name: 🛠️ Build
run: |
@@ -49,4 +53,13 @@ jobs:
- name: 🧪 Perform Unit Tests
run: |
cd tests/build
ctest
ctest
- name: 📎 Validate JSON Files
run: |
cd constants
for file in ./[!_schema.json]*; do jsonschema -i $file _schema.json; done
cd ..
cd tips
for file in ./[!_schema.json]*; do jsonschema -i $file _schema.json; done
cd ..