Viewing Test Results from GitHub Actions pipeline on GitHub Pages #60958
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I'm very frustrated that I haven't been able to figure this out.
What I want to do is see my test results (generated HTML files) somewhere online after a GitHub Actions run. This is standard procedure for Jenkins -- the CI tool I'm most familiar with. Yes, I can find no example of this anywhere online. I've tried to publish the test results build artifact via the deploy-pages action:
Deploy artifacts to GitHub Pages job
deploy-to-pages:
# Add a dependency to the build job
needs: run-bdd-post-deploy
In all my searches for this action, I've never seen a screenshot of the resulting GitHub Pages site -- showing some test results. Or showing anything. So, it might not be used for what I'm trying to do. When I try the above I get this error:
Creating Pages deployment with payload:
{
"artifact_url": "https://pipelines.actions.githubusercontent.com/jUZg24u0a2nIrkmTfRofl63UP7L3cQaImPrie5mQZR94WWykYI/_apis/pipelines/1/runs/59/artifacts?artifactName=bdd-cucumber-results&%24expand=SignedContent",
"pages_build_version": "0131fd3a8fcc447ec7585ddf8fa552e52af9f803",
"oidc_token": "***"
}
Created deployment for 0131fd3a8fcc447ec7585ddf8fa552e52af9f803, ID: 0131fd3a8fcc447ec7585ddf8fa552e52af9f803
Getting Pages deployment status...
Error: Artifact could not be deployed. Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB.
If I click on the link for the artifact_url, I get:
{"$id":"1","innerException":null,"message":"The user 'System:PublicAccess;aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}
If anyone can help me figure this out, I promise to fully document it and put the answer online.
My artifacts are successfully generated and I can download them and view them on my computer, but I want to see them online, so that everyone on the team can see the latest test results.
Doesn't everyone using GitHub Actions want this same feature?
Thanks for any help or pointers. I just want to see the test results online.
Bill
Beta Was this translation helpful? Give feedback.
All reactions