Merge pull request #40 from galacticusorg/update/localGroupDB #82
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-Local-Group-DB' | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: | |
- master | |
paths: | |
- 'static/observations/localGroup/localGroupSatellites.xml' | |
- 'static/observations/localGroup/localGroupSatellites.xsd' | |
- 'static/observations/localGroup/localGroupSatellitesValidate.py' | |
push: | |
branches: | |
- 'master' | |
paths: | |
- 'static/observations/localGroup/localGroupSatellites.xml' | |
- 'static/observations/localGroup/localGroupSatellites.xsd' | |
- 'static/observations/localGroup/localGroupSatellitesValidate.py' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
# Validate Local Group DB | |
Validate-Local-Group-DB: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install xmlschema | |
run: | | |
pip3 install xmlschema | |
- name: Validate the database | |
run: | | |
cd static/observations/localGroup | |
python3 localGroupSatellitesValidate.py |