Skip to content

Commit

Permalink
Create validate_json.yml action
Browse files Browse the repository at this point in the history
  • Loading branch information
dustine32 authored Jan 26, 2024
1 parent 41e0749 commit d3b2a8e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/validate_json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Validate Submitted JSON

on:
push:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.5]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: python src/simple_validator.py spec/syngo_spec.yaml json/

0 comments on commit d3b2a8e

Please sign in to comment.