Added 9 records (laserduck42) #7211
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Data | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install django | |
pip install jsonschema | |
- name: Run validation script | |
run: python validateData.py | |
- name: Check script exit code | |
run: | | |
if [ $? -eq 0 ]; then | |
echo "Validation successful" | |
else | |
echo "Validation failed" | |
exit 1 | |
fi | |
- name: Run changelog validation script | |
run: python verifyChangelog.py |