WIP: updated branch with changes to support linkml schema #227
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Python package | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install reproschema | |
- name: Test with pyshacl | |
run: | | |
python scripts/jsonParser.py | |
reproschema -l DEBUG validate --shapefile validation/reproschema-shacl.ttl examples | |
- name: Make a release | |
run: | | |
python scripts/makeRelease.py ci-release | |
pip install pytablewriter | |
python scripts/editProperties.py ci-release |