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

upload test result to codecov #185

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

bruno-garcia
Copy link
Member

@bruno-garcia bruno-garcia commented Feb 16, 2024

@bruno-garcia
Copy link
Member Author

bruno-garcia commented Feb 16, 2024

Odd. Files are generated on my box, upload command works fine here.

 info - 2024-02-16 05:08:30,637 -- ci service found: github-actions
warning - 2024-02-16 05:08:30,758 -- Some files were not found --- {"not_found_files": ["test/SymbolCollector.Console.Tests/TestResults/TestResults.xml"]}
info - 2024-02-16 05:08:30,855 -- Found 0 test_results files to upload
Error: No test_results reports found. Please make sure you're generating reports successfully.
Error: Process completed with exit code 1.

EDIT: prob because script stops at first failure

@bruno-garcia
Copy link
Member Author

Run codecovcli do-upload --report-type test_results --file test/SymbolCollector.Core.Tests/TestResults/TestResults.xml
info - 2024-02-16 05:37:25,922 -- ci service found: github-actions
info - 2024-02-16 05:37:26,150 -- Found 1 test_results files to upload
info - 2024-02-16 05:37:26,150 -- > /home/runner/work/symbol-collector/symbol-collector/test/SymbolCollector.Core.Tests/TestResults/TestResults.xml
info - 2024-02-16 05:37:26,506 -- Process Upload complete
info - 2024-02-16 05:37:26,722 -- ci service found: github-actions
info - 2024-02-16 05:37:26,952 -- Found 1 test_results files to upload
info - 2024-02-16 05:37:26,952 -- > /home/runner/work/symbol-collector/symbol-collector/test/SymbolCollector.Server.Tests/TestResults/TestResults.xml
info - 2024-02-16 05:37:27,251 -- Process Upload complete
info - 2024-02-16 05:37:27,463 -- ci service found: github-actions
info - 2024-02-16 05:37:27,691 -- Found 1 test_results files to upload
info - 2024-02-16 05:37:27,691 -- > /home/runner/work/symbol-collector/symbol-collector/test/SymbolCollector.Console.Tests/TestResults/TestResults.xml
info - 2024-02-16 05:37:27,973 -- Process Upload complete

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