Skip to content

demozoo: parse YYYY and YYYY-MM dates as well #480

demozoo: parse YYYY and YYYY-MM dates as well

demozoo: parse YYYY and YYYY-MM dates as well #480

Workflow file for this run

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