Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 7 additions & 19 deletions .github/workflows/ci-schema-convert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ on:
- '.github/workflows/ci-schema-convert.yml'
- 'utils/**'
- 'model_contexts/**'
workflow_dispatch:

env:
SCHEMATIC_VERSION: 24.11.2
SCHEMATIC_SERVICE_ACCOUNT_CREDS: ${{ secrets.SCHEMATIC_SERVICE_ACCOUNT_CREDS }}
CLIENT_VERSION: 4.11.0

jobs:
build:
Expand All @@ -28,28 +28,20 @@ jobs:
# Set up supported python.
- uses: actions/setup-python@v5
with:
python-version: '3.10.12'
python-version: '3.10.19'

- name: Install Python Packages
run: |
pip install schematicpy==${{ env.SCHEMATIC_VERSION }}
pip show schematicpy

- name: Create creds file
run: |
echo "${SCHEMATIC_SERVICE_ACCOUNT_CREDS}" > schematic_service_account_creds.json
pip install "synapseclient[pandas, curator]==${{ env.CLIENT_VERSION }}"
pip show synapseclient

- name: Create context-specific models
run: |
python utils/context_specific_models.py

- name: convert model csv to jsonld
run: |
bash utils/schema_convert.sh

- name: Generate templates
- name: Generate json schemas
run: |
bash utils/generate_model_templates.sh
python utils/generate_jsonschema.py

- name: Generate blank CSV templates from json schema to support dictionary site build
run: |
Expand All @@ -59,10 +51,6 @@ jobs:
run: |
rm model_json_schema/ark.BDM*

- name: Clean up sensitive info
run: |
rm schematic_service_account_creds.json

- name: Commit files if there are changes
run: |
git status
Expand Down
80 changes: 0 additions & 80 deletions .github/workflows/create-template-config.yml

This file was deleted.

Loading