21
21
matrix :
22
22
os : [macos-latest, ubuntu-latest, windows-latest]
23
23
steps :
24
- - uses : actions/checkout@v2
25
- - uses : dorny/paths-filter@v2
24
+ - uses : actions/checkout@v4
25
+ - uses : dorny/paths-filter@v3
26
26
id : changes
27
27
with :
28
28
filters : |
@@ -43,22 +43,22 @@ jobs:
43
43
scoring:
44
44
- 'tools/scoring/**'
45
45
- name : Set up Python 3.11
46
- uses : actions/setup-python@v1
46
+ uses : actions/setup-python@v5
47
47
with :
48
48
python-version : ' 3.11'
49
- - name : Install Pylint
49
+ - name : Install PyInk
50
50
run : |
51
- python -m pip install pylint
51
+ python -m pip install pyink
52
52
53
53
# ---------- Ontology Yaml Type Validator ----------#
54
54
- name : Ontology Yaml Type Validator Install dependencies
55
55
run : |
56
56
python setup.py install
57
57
working-directory : ./tools/validators/ontology_validator
58
- - name : Run pylint on Ontology Type Validator
58
+ - name : Run PyInk on Ontology Type Validator
59
59
if : steps.changes.outputs.type_validator == 'true'
60
60
run : |
61
- pylint --rcfile ./styles/pylintrc ./tools/validators/ontology_validator
61
+ pyink --diff --config ./styles/pyink-config ./tools/validators/ontology_validator
62
62
- name : Ontology Yaml Validator Generator Tests
63
63
if : steps.changes.outputs.type_validator == 'true'
64
64
run : |
@@ -70,10 +70,10 @@ jobs:
70
70
run : |
71
71
python -m pip install .
72
72
working-directory : ./tools/validators/instance_validator
73
- - name : Run pylint on Ontology Instance Validator
73
+ - name : Run PyInk on Ontology Instance Validator
74
74
if : steps.changes.outputs.instance_validator == 'true'
75
75
run : |
76
- pylint --rcfile ./styles/pylintrc ./tools/validators/instance_validator
76
+ pyink --diff --config ./styles/pyink-config ./tools/validators/instance_validator
77
77
- name : Instance Yaml Validator Unit Tests
78
78
if : steps.changes.outputs.instance_validator == 'true' || steps.changes.outputs.type_validator == 'true'
79
79
run : |
@@ -96,10 +96,10 @@ jobs:
96
96
run : |
97
97
python setup.py install
98
98
working-directory : ./tools/abel
99
- - name : Run pylint on ABEL
99
+ - name : Run PyInk on ABEL
100
100
if : steps.changes.outputs.abel == 'true'
101
101
run : |
102
- pylint --rcfile ./styles/pylintrc ./tools/abel
102
+ pyink --diff --config ./styles/pyink-config ./tools/abel
103
103
- name : ABEL Unit Tests
104
104
if : steps.changes.outputs.abel == 'true' || steps.changes.outputs.instance_validator == 'true' || steps.changes.outputs.type_validator == 'true'
105
105
run : |
@@ -112,10 +112,10 @@ jobs:
112
112
run : |
113
113
python setup.py install
114
114
working-directory : ./tools/guid_generator/instance
115
- - name : Run pylint on Instance GUID Generator
115
+ - name : Run PyInk on Instance GUID Generator
116
116
if : steps.changes.outputs.instance_guid_generator == 'true'
117
117
run : |
118
- pylint --rcfile ./styles/pylintrc ./tools/guid_generator/instance
118
+ pyink --diff --config ./styles/pyink-config ./tools/guid_generator/instance
119
119
- name : Instance GUID Generator Tests
120
120
if : steps.changes.outputs.instance_guid_generator == 'true' || steps.changes.outputs.instance_validator == 'true'
121
121
run : |
@@ -128,10 +128,10 @@ jobs:
128
128
run : |
129
129
python setup.py install
130
130
working-directory : ./tools/guid_generator/ontology
131
- - name : Run pylint on Ontology GUID Generator
131
+ - name : Run PyInk on Ontology GUID Generator
132
132
if : steps.changes.outputs.ontology_guid_generator == 'true'
133
133
run : |
134
- pylint --rcfile ./styles/pylintrc ./tools/guid_generator/ontology
134
+ pyink --diff --config ./styles/pyink-config ./tools/guid_generator/ontology
135
135
- name : Ontology GUID Generator Tests
136
136
if : steps.changes.outputs.ontology_guid_generator == 'true' || steps.changes.outputs.type_validator == 'true'
137
137
run : |
@@ -145,10 +145,10 @@ jobs:
145
145
python -m pip install --upgrade pip
146
146
python setup.py install
147
147
working-directory : ./tools/rdf_generator
148
- - name : Run pylint on RDF Generator
148
+ - name : Run PyInk on RDF Generator
149
149
if : steps.changes.outputs.rdf_generator == 'true'
150
150
run : |
151
- pylint --rcfile ./styles/pylintrc ./tools/rdf_generator
151
+ pyink --diff --config ./styles/pyink-config ./tools/rdf_generator
152
152
- name : RDF Generator Tests
153
153
if : steps.changes.outputs.rdf_generator == 'true'
154
154
run : |
@@ -161,10 +161,10 @@ jobs:
161
161
run : |
162
162
python setup.py install
163
163
working-directory : ./tools/explorer
164
- - name : Run pylint on Ontology Explorer
164
+ - name : Run PyInk on Ontology Explorer
165
165
if : steps.changes.outputs.explorer == 'true'
166
166
run : |
167
- pylint --rcfile ./styles/pylintrc ./tools/explorer
167
+ pyink --diff --config ./styles/pyink-config ./tools/explorer
168
168
- name : Ontology Explorer Tests
169
169
if : steps.changes.outputs.explorer == 'true' || steps.changes.outputs.type_validator == 'true' || steps.changes.outputs.instance_validator == 'true'
170
170
run : |
@@ -177,10 +177,10 @@ jobs:
177
177
run : |
178
178
python setup.py install
179
179
working-directory : ./tools/scoring
180
- - name : Run pylint on Configuration Scorer
180
+ - name : Run PyInk on Configuration Scorer
181
181
if : steps.changes.outputs.scoring == 'true'
182
182
run : |
183
- pylint --rcfile ./styles/pylintrc ./tools/scoring
183
+ pyink --diff --config ./styles/pyink-config ./tools/scoring
184
184
- name : Configuration Scorer Tests
185
185
if : steps.changes.outputs.scoring == 'true' || steps.changes.outputs.instance_validator == 'true'
186
186
run : |
0 commit comments