Skip to content

test emmontopy branch ontokit_dev_fragmentlinks #64

test emmontopy branch ontokit_dev_fragmentlinks

test emmontopy branch ontokit_dev_fragmentlinks #64

Workflow file for this run

name: CI tests
on: [push]
jobs:
ci_testing:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Load ontokit configuration
run: |
if [ ! -f .ontokit_conf.yml ]; then
echo "Missing .ontokit_conf.yml" >&2
exit 1
fi
value=$(sed -n -E "s/^ONTOLOGY_NAME:[[:space:]]*(.*)$/\\1/p" .ontokit_conf.yml | head -n 1)
if [ -z "$value" ]; then
echo "Missing required key 'ONTOLOGY_NAME' in .ontokit_conf.yml" >&2
exit 1
fi
echo "ONTOLOGY_NAME=${value}" >> "$GITHUB_ENV"
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install EMMOntoPy
run: |
pip install --upgrade pip
# pip install EMMOntoPy
pip install -U git+https://github.com/emmo-repo/EMMOntoPy.git@master
- name: Test
run: |
emmocheck --configfile=.github/emmocheck_conf.yml ${ONTOLOGY_NAME}.ttl