Skip to content

Validate Mappings

Validate Mappings #2

name: Validate Mappings
# Controls when the action will run.
on:
pull_request:
branches: [ master ]
paths:
- 'src/templates/mba_CCF_to_UBERON.tsv'
- '.github/workflows/mapping_check.yaml'
- 'src/scripts/mapping_template_validator.py'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
validate-mappings:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: validate mappings
run: python ./src/scripts/mapping_template_validator.py