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

Only add nuget source for dotnet tests #1079

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Conversation

danielrbradley
Copy link
Member

@danielrbradley danielrbradley commented Sep 11, 2024

Follow-up to #1063

The nuget command fails if dotnet wasn't installed.

Example failure: https://github.com/pulumi/pulumi-azure/actions/runs/10815039270/job/30003728480?pr=2387

This only affects providers which have enabled freeDiskSpaceBeforeTest because they will have a default version of dotnet available, and therefore also wasn't caught by the downstream tests.

For the sake of consistency, we'll also only configure the pip virtualenv if we're atually running python tests.

Follow-up to #1063

The nuget command fails if dotnet wasn't installed.
@danielrbradley danielrbradley requested review from ringods and a team September 11, 2024 19:19
@danielrbradley danielrbradley self-assigned this Sep 11, 2024
@danielrbradley danielrbradley added this pull request to the merge queue Sep 12, 2024
Merged via the queue into master with commit 2490813 Sep 12, 2024
6 checks passed
@danielrbradley danielrbradley deleted the fix-non-dotnet-builds branch September 12, 2024 08:33
danielrbradley added a commit that referenced this pull request Sep 13, 2024
Mirror the fix for #1079 into the nightly, main, prerelease and release jobs.
github-merge-queue bot pushed a commit that referenced this pull request Sep 13, 2024
Mirror the fix for #1079 into the nightly, main, prerelease and release
jobs.

Test is the only core part of our workflow which has not been
deduplicated and so we have to copy fixes into all the different
workflows.

Spotted from issue pulumi/pulumi-azure#2393
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.

2 participants