Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Add dotnet coverage task #2062

Merged
merged 41 commits into from
Jul 6, 2022

Conversation

tevoinea
Copy link
Member

@tevoinea tevoinea commented Jun 20, 2022

Summary of the Pull Request

What is this about?

PR Checklist

  • Closes Add dotnet_coverage task #2006
  • CLA signed. If not, go over here and sign the CLI.
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request

What does this include?

Validation Steps Performed

How does someone test & validate?

  1. Build a dotnet project
  2. Include dll, pdb, and runtimeconfig.json in setup container
  3. Add some files in the inputs container
  4. Create a new job
  5. Create a new task. Example config: onefuzz tasks create 4e43e15a-b003-4d5d-bc37-7907f0a7d527 dotnet_coverage testcoverage.dll coverage=coverage setup=setup readonly_inputs=inputs linux --target_options {input}
  6. Verify a cobertura-coverage.xml file is in the coverage container
  7. Upload another file in the input container
  8. Verify the cobertura-coverage.xml file was updated

@tevoinea tevoinea closed this Jun 27, 2022
@tevoinea tevoinea reopened this Jun 27, 2022
@tevoinea tevoinea marked this pull request as ready for review July 5, 2022 15:18
@tevoinea tevoinea requested review from ranweiler, chkeita and Porges July 5, 2022 15:18
src/agent/onefuzz-task/src/local/dotnet_coverage.rs Outdated Show resolved Hide resolved
src/agent/onefuzz-task/src/tasks/coverage/dotnet.rs Outdated Show resolved Hide resolved
src/agent/onefuzz-task/src/tasks/coverage/dotnet.rs Outdated Show resolved Hide resolved
src/agent/onefuzz-task/src/tasks/coverage/dotnet.rs Outdated Show resolved Hide resolved
src/agent/onefuzz-task/src/tasks/coverage/dotnet.rs Outdated Show resolved Hide resolved
src/agent/onefuzz-task/src/tasks/coverage/dotnet.rs Outdated Show resolved Hide resolved
src/runtime-tools/linux/setup.sh Outdated Show resolved Hide resolved
@tevoinea tevoinea requested a review from ranweiler July 6, 2022 18:55
@tevoinea tevoinea merged commit f37224e into microsoft:main Jul 6, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add dotnet_coverage task
4 participants