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

GitHub CI fails to attach test results #56

Open
sharwell opened this issue Aug 2, 2021 · 1 comment
Open

GitHub CI fails to attach test results #56

sharwell opened this issue Aug 2, 2021 · 1 comment

Comments

@sharwell
Copy link
Member

sharwell commented Aug 2, 2021

The test step reports this:

Results File: D:\a\vs-extension-testing\vs-extension-testing\src\Microsoft.VisualStudio.Extensibility.Testing.Xunit.IntegrationTests\TestResults\runneradmin_fv-az177-418_2021-08-02_15_11_36.trx

...

Results File: D:\a\vs-extension-testing\vs-extension-testing\src\Microsoft.VisualStudio.Extensibility.Testing.Xunit.Legacy.IntegrationTests\TestResults\runneradmin_fv-az177-418_2021-08-02_15_11_39.trx

But the Upload testResults step reports this:

Error: Path does not exist D:\a\vs-extension-testing\vs-extension-testing\obj\_artifacts\testResults
Error: Exit code 1 returned from process: file name 'c:\runners\2.279.0\bin\Runner.PluginHost.exe', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.

/cc @AArnott this might be a problem with Library.Template

@AArnott
Copy link
Member

AArnott commented Aug 17, 2021

It works in Library.Template.
Your "Collect artifacts" step is missing the testResults in its final table. This row appears in the Library.Template equivalent.

Your fix here looks good. I guess we need more verbose logging of that script to understand why it didn't collect anything.

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

No branches or pull requests

2 participants