Merge pull request #835 from charlotte-e-ross/Ashmole-59 #959
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 XML | |
on: | |
push: | |
paths: | |
- '**.xml' | |
pull_request: | |
paths: | |
- '**.xml' | |
jobs: | |
validate-xml: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
cache: 'pip' | |
- name: Install dependencies | |
run: pip install -r processing/requirements.txt | |
- name: Validate XML using Relax NG | |
run: python processing/validate.py |