-
Notifications
You must be signed in to change notification settings - Fork 647
Fix outerloop issues #8687
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
Fix outerloop issues #8687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
Files not reviewed (1)
- eng/Testing.targets: Language not supported
Comments suppressed due to low confidence (2)
.github/workflows/tests-outerloop.yml:96
- The log directory path has been updated but the artifact retention step still references the old base path. Ensure that the new log directory is used consistently throughout the workflow for proper log collection.
$logDirectory = "${{ github.workspace }}/artifacts/TestResults"
.github/workflows/tests-outerloop.yml:175
- The artifact retention step uses a path that includes an extra 'log' segment which may be inconsistent with the new $logDirectory path. Consider updating this path to match the change made in the run step.
${{ github.workspace }}/artifacts/log/TestResults/*/*.trx
Here's a test outerloop run - neither the Playground tests nor E2E tests are run on Windows any longer. |
068d348
to
799a9d0
Compare
@@ -50,7 +50,8 @@ | |||
<SkipTests>true</SkipTests> | |||
|
|||
<!-- Only run tests if the build is running on GitHub Actions --> | |||
<SkipTests Condition=" '$(IsGitHubActionsRunner)' == 'true' and '$(RunOnGithubActions)' == 'true' ">false</SkipTests> | |||
<SkipTests Condition=" '$(IsGitHubActionsRunner)' == 'true' and '$(BuildOs)' == 'windows' and '$(RunOnGithubActionsWindows)' == 'true' ">false</SkipTests> | |||
<SkipTests Condition=" '$(IsGitHubActionsRunner)' == 'true' and '$(BuildOs)' != 'windows' and '$(RunOnGithubActionsLinux)' == 'true' ">false</SkipTests> | |||
|
|||
<!-- Only run tests if the build is running on Helix infra --> | |||
<SkipTests Condition=" '$(IsAzdoHelixRunner)' == 'true' and '$(RunOnAzdoHelix)' == 'true' ">false</SkipTests> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue affects only the GHA, I don't want to upset and break the AzDO builds (I tried changing the other properties, and that led to failed build in AzDO).
We can look at the AzDO separation later.
1. Take build agent OS in account when running tests Addresses #8498 (comment) 2. Read trx from correct location Resolves #8683
799a9d0
to
54dc22e
Compare
Co-authored-by: Ankit Jain <radical@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
Take build agent OS in account when running tests
Addresses Migrate from VSTest to Microsoft.Testing.Platform #8498 (comment)
Read trx from correct location
Resolves [CI] Outerloop tests workflow not collecting trx files in artifacts #8683