release: 4.1.0 #134
Workflow file for this run
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: Compile Schemas | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
architecture: x64 | |
- run: pip install compiletojsonschema==0.3.0 | |
- name: Compile Projects | |
run: "compiletojsonschema --codelist-base-directory schema/codelists schema/project.json" | |
- name: Compile Funds | |
run: "compiletojsonschema --codelist-base-directory schema/codelists schema/fund.json" | |
- name: Compile Organisations | |
run: "compiletojsonschema --codelist-base-directory schema/codelists schema/organisation.json" | |
- name: Compile Pipelines | |
run: "compiletojsonschema --codelist-base-directory schema/codelists schema/pipeline.json" |