Skip to content

Conversation

@frwl404
Copy link
Owner

@frwl404 frwl404 commented Feb 3, 2026

No description provided.

Currently 'after' always executes on host machine, not in container,
while in many cases it might be usefull to execute it inside container.

For example in rust to measure test coverage, we should perform 2 steps:
1) cargo llvm-cov --workspace --tests --features full --color never
2) cargo llvm-cov report --html

Even if at step 1 some tests fails, we want to execute command 2, to get coverage report even if tests are failed.
But exit code should be non-0, based on main command #1.

Now best what we can do is to use just "execute":
cargo llvm-cov --workspace --tests --features full --color never && cargo llvm-cov report --html

This way we will achive main requirement (to get negative exit code if tests will fail),
but it will not generate coverage report in case of tests failure.

This change would break the logic for existing setups, but furtunately we don't have many at the moment.
Current name is short, but might be a bit misleading and makes user think
that certain command can be executed in this particular container only.
In the future we plan to add field with explicit list of containers supported per command,
but for now lets just make name more clear.
@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
runo 97.28% <100.00%> (+0.07%) ⬆️
tests/unit/test_runo.py 99.46% <100.00%> (+0.11%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@frwl404 frwl404 merged commit 39c5201 into master Feb 5, 2026
23 checks passed
@frwl404 frwl404 deleted the anton/2026/improve-interface branch February 5, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant