canonical / mir-ci

Mir CI helpers
1 stars 1 forks source link

xdg: merge multiple xdg marks #64

Closed Saviq closed 5 months ago

Saviq commented 5 months ago

In newer pytest, the marks "hidden" in the parametrize mark get actioned on. This resulted in calling the XDG_CONFIG_HOME mark twice.

Since this is potentially valid (e.g. class-level mark, and then a function-level mark), add support for multiple marks, with the closest ones taking precedence.

codecov[bot] commented 5 months ago

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (abe764f) 64.40% compared to head (5d64378) 64.64%. Report is 1 commits behind head on main.

Files Patch % Lines
mir-ci/mir_ci/conftest.py 20.00% 11 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #64 +/- ## ========================================== + Coverage 64.40% 64.64% +0.23% ========================================== Files 11 11 Lines 722 724 +2 Branches 88 88 ========================================== + Hits 465 468 +3 + Misses 234 233 -1 Partials 23 23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.