Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] [QC-858] Single CheckRunner per workflow #2061

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Barthelemy
Copy link
Collaborator

This reverts commit 1b9206b.

@Barthelemy Barthelemy requested a review from knopers8 as a code owner December 4, 2023 07:23
@Barthelemy Barthelemy changed the title [WIP] [QC-858] Single CheckRunner per workflow [QC-858] Single CheckRunner per workflow Dec 14, 2023
Framework/src/Check.cxx Show resolved Hide resolved
@@ -85,6 +85,17 @@ TEST_CASE("qc_factory_local_test")
}
}

TEST_CASE("onlyTask")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is tested in the testSharedConfig.json as well, "defTask" and "recoTask" do not have associated checks there. I guess we did not discover it was wrong previously because of the wrong update of qc-check's expected number of inputs.
Up to you if you want to remove this one though.

Framework/test/testVersion.cxx Show resolved Hide resolved
const auto configTree = configInterface->getRecursive();
const auto workflow = InfrastructureGenerator::generateStandaloneInfrastructure(configTree);
// the infrastructure should consist of 1 TaskRunners, 1 CheckRunner
REQUIRE(workflow.size() == 2);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also check the number of inputs so they match with the number of tasks without checks. In fact, I do not quite understand where do you add them to the CheckRunner, to me it still seems wrong.

@Barthelemy Barthelemy changed the title [QC-858] Single CheckRunner per workflow [WIP] [QC-858] Single CheckRunner per workflow Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants