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

Option to disable output? How to get coverage + test results from one run #1435

Open
t-moe opened this issue Dec 22, 2023 · 0 comments
Open
Assignees

Comments

@t-moe
Copy link

t-moe commented Dec 22, 2023

Currently I have two jobs in my CI:

# Generate cobertura.xml with coverage data
cargo tarpaulin  --tests  --out xml --profile bench

# Generate junit test report 
cargo test  --tests --no-fail-fast -- -Z unstable-options --format=json --report-time > report.json
cat report.json | cargo2junit > report.xml

I would like to combine the two test invocations into one, but the problem is, that cargo tarpaulin mixes up my json output with the summary. Can I somehow disable the output of the summary to stdout? (or can I output it to stderr instead?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants