Page MenuHomePhabricator

Copy test coverage artifacts from test to coverage variant
Open, Needs TriagePublic


This is a follow up to T307209: mwaddlink CI fails with "No module named pip"

In mwaddlink, we currently run pytest twice. We run it in the test variant. Then, because T277777: Support copying files from run containers into the workspace for use in other stages wasn't solved at the time of the pipeline setup, we run it again to generate coverage reports. This is inefficient, and also requires the coverage step to know about python (see T307209), when it really should just run the sonarqube scanner tool to upload relevant files.

I can't figure out the exact syntax for copying the files from test to coverage variant, so help needed here.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 787691 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[research/mwaddlink@main] pipeline: Copy coverage reports from test to coverage variant

Change 787691 abandoned by Kosta Harlan:

[research/mwaddlink@main] pipeline: Copy coverage reports from test to coverage variant


thcipriani subscribed.

Removing Release-Engineering-Team since it doesn't seem like there's work for our team here, please retag if you disagree.