add dob_year and edit antimalarial (#189) #404
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: parsers | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'isaric/parsers/*.toml' | |
- 'ci/validate_parser.py' | |
- '.github/workflows/parsers.yml' | |
- 'schemas/*/*.json' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'isaric/parsers/*.toml' | |
- 'ci/validate_parser.py' | |
- '.github/workflows/parsers.yml' | |
- 'schemas/*/*.json' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: python3 -m pip install -r ci/requirements.txt | |
- name: Validate parsers | |
run: | | |
python3 ci/validate_parser.py isaric/parsers/*.toml |