Introduce new CI to validate new distributions entries #1
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 distributions | |
on: | |
pull_request: | |
paths: ['distributions/**'] | |
jobs: | |
check: | |
name: Validate distributions | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install pip packages | |
run: pip install -r distributions/requirements.txt | |
shell: bash | |
- name: Run validation | |
run: python distributions/validate.py --repo-path . --compare-with-branch '${{ github.base_ref }}' --manifest distributions/DistributionInfo.json | |
shell: bash |