Skip to content

Commit

Permalink
Add workflow to validate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Mar 7, 2024
1 parent 01ddb81 commit f75f576
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Validate Schema

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
validate:
name: Build Package
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Check out code
uses: actions/checkout@v4
- name: Install dependencies
run: pip install -r scripts/requirements.txt
- name: Validate schema
run: ./scripts/validate_schema.py codetf.schema.json

0 comments on commit f75f576

Please sign in to comment.