Skip to content

Commit 8a9ebf0

Browse files
committed
Add an explicit test config for use_variant.
So far the `use_variant` feature is only tested indirectly, using a config file that still uses the old `use_base: true` mechanism (and that is automatically migrated to `use_variant: base`). We add a test config that directly uses `use_variant` from the start.
1 parent aa3fd7a commit 8a9ebf0

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
id: tvariant
2+
title: "Test Variant"
3+
github_org: INCATools
4+
repo: ontology-development-kit
5+
import_group:
6+
use_base_merging: true
7+
exclude_iri_patterns:
8+
- <http://purl.obolibrary.org/obo/GOCHE_*>
9+
- <http://purl.obolibrary.org/obo/OBA_*>
10+
slme_individuals: exclude
11+
mirror_max_time_download: 400
12+
products:
13+
- id: ro
14+
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
15+
- id: pato
16+
use_variant: base
17+
# This test cannot be easily replaced, because use_variant and custom URL dont mix
18+
- id: pr
19+
make_base: true
20+
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pr_slim.owl

0 commit comments

Comments
 (0)