generated from linkml/linkml-template
-
Notifications
You must be signed in to change notification settings - Fork 8
31 lines (31 loc) · 1.44 KB
/
migration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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