Skip to content

modify directory structure #136

modify directory structure

modify directory structure #136

Workflow file for this run

name: EMMO check
on: [pull_request]
jobs:
emmocheck:
name: EMMO Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install EMMOntoPy
run: |
python -m pip install --upgrade pip
pip install -U setuptools wheel
pip install -r requirements.txt
- name: Run EMMO Check - electrochemistry
run: |
if [ -f "electrochemistry.ttl" ]; then
emmocheck --verbose --url-from-catalog \
--skip test_namespace \
--skip test_quantity_dimension \
--configfile=.github/utils/emmocheck_config.yml \
electrochemistry.ttl
else
echo "electrochemistry.ttl not found!"
exit 1
fi
- name: Run EMMO Check - electrochemicalquantities
run: |
if [ -f "electrochemicalquantities.ttl" ]; then
emmocheck --verbose --url-from-catalog \
--skip test_namespace \
--skip test_quantity_dimension \
--configfile=.github/utils/emmocheck_config.yml \
electrochemicalquantities.ttl
elif [ -f "modules/quantities.ttl" ]; then
emmocheck --verbose --url-from-catalog \
--skip test_namespace \
--skip test_quantity_dimension \
--configfile=.github/utils/emmocheck_config.yml \
modules/quantities.ttl
else
echo "electrochemicalquantities.ttl or modules/quantities.ttl not found!"
exit 1
fi