Skip to content

Commit

Permalink
Include test requirements only if we are building that node
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Jan 12, 2021
1 parent f0214de commit 6930f03
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions conda_forge_tick/migrators/migration_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,11 @@ def create_rebuild_graph(
)
# get host/build, run and test and launder them through outputs
# this should fix outputs related issues (eg gdal)
all_reqs = (host or build) | requirements.get("run", set())
if inclusion_criteria:
all_reqs = all_reqs | requirements.get("test", set())
rq = get_deps_from_outputs_lut(
(host or build)
| requirements.get("run", set())
| requirements.get("test", set()),
all_reqs,
gx.graph["outputs_lut"],
)

Expand Down

0 comments on commit 6930f03

Please sign in to comment.