Skip to content

migration-with-java-action #14

migration-with-java-action

migration-with-java-action #14

Workflow file for this run

name: migration-with-java-action
on: workflow_dispatch
# wget or curl?! which is noisier
# combine run statements?
# could run jobs in parallel
# tdb1.xloader tdb2.tdbcompact tdb2.tdbloader tdb2.tdbstats tdb2.xloader tdbdump tdbloader2 tdbstats
# tdb2.tdbbackup tdb2.tdbdump tdb2.tdbquery tdb2.tdbupdate tdbbackup tdbloader tdbquery tdbupdate
jobs:
migration-with-java-job:
runs-on: ubuntu-latest
steps:
- name: Install Poetry
uses: snok/[email protected]
- uses: actions/checkout@v3
- name: Install dependencies
run: poetry install --no-interaction --no-root
- name: Install library
run: poetry install --no-interaction
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- run: wget https://github.com/ontodev/robot/releases/download/v1.9.5/robot.jar
- run: wget https://raw.githubusercontent.com/ontodev/robot/master/bin/robot
- run: sudo chmod u+x robot
# - run: ./robot convert --input project/owl/nmdc.owl.ttl --output project/owl/nmdc.ofn
# - run: ls -l project/owl/nmdc.ofn
- uses: foooomio/setup-jena@v2
- run: make squeaky-clean all test
- run: tdb2.tdbloader --loc=tdbcontent --graph=http://example.com/tdbcontent/ project/owl/nmdc.owl.ttl
- run: tdb2.tdbquery --loc=tdbcontent --query=assets/sparql/tdb-test.rq