Skip to content

Merge pull request #15 from jonathanvajda/dev #24

Merge pull request #15 from jonathanvajda/dev

Merge pull request #15 from jonathanvajda/dev #24

Workflow file for this run

# Basic ODK workflow
name: Validate Annotations Requirements
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main , dev ]
pull_request:
branches: [ main , dev ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ontology_qc:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: obolibrary/robot:latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Run ontology QC checks
env:
DEFAULT_BRANCH: main
run: |
robot report --catalog "catalog-v001.xml" \
--input "cco-d-acts.ttl" \
--output "report.tsv" -vvv
- name: Upload QC Report
uses: actions/upload-artifact@v4
with:
name: qc-report
path: report.tsv