Missing entries from demozoo #476
Workflow file for this run
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 manifests | |
on: [pull_request, push] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout gbdev/database | |
uses: actions/checkout@v2 | |
with: | |
repository: gbdev/database | |
path: folder/repo | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r folder/repo/tests/requirements.txt | |
- name: Validate manifests against the JSON schema | |
working-directory: folder/ | |
run: | | |
cd repo/tests | |
python3 validate_schema.py | |
- name: Check if referenced files in the manifests exist | |
working-directory: folder/ | |
run: | | |
cd repo/tests | |
python3 check_files.py | |
- name: Look for duplicates | |
working-directory: folder/ | |
run: | | |
cd repo/scripts | |
python3 dupe_finder.py |