IDMP-744 - initial revision to the Qlaira example to reflect the chan… #2787
Workflow file for this run
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 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 |