Skip to content

Commit

Permalink
fix: Use tool_configuration.channel_priority in TestConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
tl-hbk committed Dec 20, 2024
1 parent 69b1d95 commit 108336a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ use petgraph::{algo::toposort, graph::DiGraph, visit::DfsPostOrder};
use rattler_conda_types::{
package::ArchiveType, Channel, GenericVirtualPackage, MatchSpec, PackageName, Platform,
};
use rattler_solve::ChannelPriority;
use rattler_solve::SolveStrategy;
use rattler_virtual_packages::{VirtualPackage, VirtualPackageOverrides};
use recipe::parser::{find_outputs_from_src, Dependency, TestType};
Expand Down Expand Up @@ -518,7 +517,7 @@ pub async fn run_build_from_args(
)
.into_diagnostic()
.context("failed to reindex output channel")?,
channel_priority: ChannelPriority::Strict,
channel_priority: tool_configuration.channel_priority,
solve_strategy: SolveStrategy::Highest,
tool_configuration: tool_configuration.clone(),
},
Expand Down

0 comments on commit 108336a

Please sign in to comment.