Skip to content

Commit aa25d28

Browse files
authored
Merge pull request #3 from zeroae/issue/2-fix-cicd-conda
Fix cicd conda build workflow
2 parents 17c9387 + 9ccd636 commit aa25d28

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

conda.recipe/meta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ test:
5555
- tests
5656
requires:
5757
# dependencies are defined in setup.py
58+
{% for dep in data['conda_requires']['test'] %}
59+
- {{ rosetta.get(dep, dep).lower() }}
60+
{% endfor %}
5861
{% for dep in data['tests_require'] %}
5962
- {{ rosetta.get(dep, dep).lower() }}
6063
{% endfor %}

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@
5757
],
5858
"run": [
5959
"darknet >=0.0.20200614"
60-
]
60+
],
61+
"test": [
62+
"darknet-cpu >=0.0.20200614"
63+
],
6164
# fmt: on
6265
}
6366

0 commit comments

Comments
 (0)