Skip to content

Commit f15902c

Browse files
apetrynetreinecke
authored andcommitted
Prepare plugin detection for removal of the cmx_3600 adapter (#1488)
* add "extract_adapters" to CI triggers * use "otiod" as override example Signed-off-by: apetrynet <[email protected]> Signed-off-by: Eric Reinecke <[email protected]>
1 parent 9d875e7 commit f15902c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: docs
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, extract_adapters ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ main, extract_adapters ]
88

99
jobs:
1010
check-links:

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ env:
1111

1212
on:
1313
push:
14-
branches: [ main ]
14+
branches: [ main, extract_adapters ]
1515
pull_request:
16-
branches: [ main ]
16+
branches: [ main, extract_adapters ]
1717

1818
concurrency:
1919
group: ${{ github.workflow }}-${{ github.ref }}

tests/baselines/plugin_module/otio_override_adapter/plugin_manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"adapters": [
44
{
55
"OTIO_SCHEMA" : "Adapter.1",
6-
"name" : "cmx_3600",
6+
"name" : "otiod",
77
"filepath" : "adapter.py",
8-
"suffixes" : ["edl"]
8+
"suffixes" : ["otiod"]
99
}
1010
]
1111
}

tests/test_plugin_detection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ def test_override_adapter(self):
8383
# Test that entrypoint plugins load before builtin and contrib
8484
man = otio.plugins.manifest.load_manifest()
8585

86-
# The override_adapter creates another cmx_3600 adapter
86+
# The override_adapter creates another otiod adapter
8787
adapters = [adapter for adapter in man.adapters
88-
if adapter.name == "cmx_3600"]
88+
if adapter.name == "otiod"]
8989

90-
# More then one cmx_3600 adapter should exist.
90+
# More then one otiod adapter should exist.
9191
self.assertTrue(len(adapters) > 1)
9292

9393
# Override adapter should be the first adapter found

0 commit comments

Comments
 (0)