-
Notifications
You must be signed in to change notification settings - Fork 536
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
Added github action to run a subset of tests #7328
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 3 out of 3 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
src/Aspire.Hosting.PostgreSQL/PostgresBuilderExtensions.cs:311
- [nitpick] The variable name 'mode' is ambiguous. It should be renamed to 'filePermissions'.
var mode = UnixFileMode.UserRead | UnixFileMode.UserWrite | UserExecute |
…etch basedirectory
@@ -56,7 +56,7 @@ await WaitForAllTextAsync(app, | |||
await app.StopAsync(); | |||
} | |||
|
|||
[Fact] | |||
[Fact(Skip = "The project reference for this test is skipped in CI.")] |
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.
@captainsafia looks like this test hasn't been running on CI as the P2P has been conditioned out when -ci
flag is passed to the build, is that intentional?
This change is just making it so that it is explicitly skipped so GHA doesn't try to run it but please let me know if that's wrong.
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.
@captainsafia looks like this test hasn't been running on CI as the P2P has been conditioned out when -ci flag is passed to the build, is that intentional?
💀 No...I'm a little surprised at this. Is that -ci
flag actually set? Here are the test analytics for this test over the last 30 days off the main branch:
![image](https://private-user-images.githubusercontent.com/1857993/408761905-50d9eb3c-52c3-409e-96dd-e15e4efa159c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjEzMTEsIm5iZiI6MTczOTAyMTAxMSwicGF0aCI6Ii8xODU3OTkzLzQwODc2MTkwNS01MGQ5ZWIzYy01MmMzLTQwOWUtOTZkZC1lMTVlNGVmYTE1OWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMTMyMzMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTIwMDRlNDMzNTQxMGQxMTU4OWVkYTdjMWMyMjE3Yjc0MmM2MzYxNDkxOWZkMWQ5YTdjMGE1MTBjNTA5ZjZhNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.k4sp8dFNCN5sKpGhbrWJv55JKXmuWjMw1ieE7uv83ac)
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.
That is for the whole workitem (meaning the whole test assembly as opposed to the single test) though, right?
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.
ci
flag is set in our pipeline builds so that P2P wouldn't be included, meaning this test would fail like it did in this PR, so I'm guessing it is getting skipped by some different means.
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.
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.
I did try that and it wasn't working for some reason. Anyway, for the sake of incremental progress I'll go ahead and not run playground tests in GHA for now and we can add that back in a follow up. That will enable the rest of the tests to start running in GHA.
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.
I'd be curious for what is happening in helix, I do have a hunch that the test is not running since I'm sure we pass -ci to our tests, so perhaps the Requires func attribute is making the test still shown as run but actually skipped dynamically? I can take a closer look
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.
Interesting, looks like playground tests actually don't build on the build machine and instead get built directly on Helix, and in there it seems like they don't pass -ci, so the test might indeed be running after all
I think this should be good to go now, and I'm planning on merging this later today. There are some pending items that I want to address in a follow-up:
FYI: @davidfowl |
Moving out CI tests to github actions (initial experiment #7073)