Note about the comment parser and the x86_64-linux limit on tests
This commit is contained in:
parent
2135dd3941
commit
56f0701b80
|
@ -183,9 +183,9 @@ baz"));
|
|||
#[test]
|
||||
fn test_comment() {
|
||||
assert_eq!(Some(vec![Instruction::Build(Subset::NixOS, vec![
|
||||
String::from("tests.foo"),
|
||||
String::from("tests.bar"),
|
||||
String::from("tests.baz")
|
||||
String::from("tests.foo.x86_64-linux"),
|
||||
String::from("tests.bar.x86_64-linux"),
|
||||
String::from("tests.baz.x86_64-linux")
|
||||
])]),
|
||||
parse("@GrahamCOfBorg test foo bar baz"));
|
||||
}
|
||||
|
|
|
@ -71,6 +71,8 @@ impl worker::SimpleWorker for BuildWorker {
|
|||
_ => "./default.nix"
|
||||
};
|
||||
|
||||
// Note: Don't change the system limiter until the system isn't
|
||||
// hardcoded to x86_64-linux in the githubcommentfilter
|
||||
if buildfile == "./nixos/release.nix" && self.system != "x86_64-linux" {
|
||||
// NixOS jobs get routed to all builders, even though darwin
|
||||
// cannot build them.
|
||||
|
|
Loading…
Reference in a new issue