Skip to content

GitHub-AmlodipineExample - added hasReleaseDate restriction on batch,… #2821

GitHub-AmlodipineExample - added hasReleaseDate restriction on batch,…

GitHub-AmlodipineExample - added hasReleaseDate restriction on batch,… #2821

# This workflow will run test for IDMP project
name: IDMP Automation Test
on:
push:
pull_request:
branches: ["master"]
permissions:
contents: read
jobs:
IDMP:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java 11
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "11"
cache: "maven"
- name: Install Dependencies & Prepare IDMP Ontologies
run: |
./etc/unit_tests/dependencies.sh
- name: Run unit tests using Apache Jena
run: |
java -Xmx8G -jar etc/unit_tests/target/unit-test-runner-1.0.jar \
-ontology_location ./AboutIDMPDev-ReferenceIndividuals.ttl \
-root_folder etc/unit_tests/ \
-cq_source etc/CQ/Example/ \
-config_file configs/idmp_tests_config.yaml
if [ $? != 0 ];
then
exit $?
fi
- name: Archive merged ontology on failure
uses: actions/upload-artifact@v4
if: always()
with:
name: merged-ontology
path: AboutIDMPDev-ReferenceIndividuals.ttl