-
Notifications
You must be signed in to change notification settings - Fork 11
30 lines (29 loc) · 1018 Bytes
/
dosdp.yml
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
name: Update DOSDP pattern files
on:
workflow_dispatch:
pull_request:
branches: [ master ]
paths:
- 'src/patterns/**'
jobs:
dosdp:
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.3.1
strategy:
max-parallel: 1
steps:
- name: Checkout main branch
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: work around permission issue
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Refreshing DOSDP patterns files
run: cd src/ontology/ && make ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx6G' GITHUB_ACTION=true IMP=false MIR=false ../patterns/definitions.owl
- name: Run ontology QC checks
run: cd src/ontology && make ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx6G' test IMP=false
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: 'Update dosdp patterns file'
add: 'src/patterns/definitions.owl'