-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tools] Fix nullability for the Execution.Environment field. (#15084)
The values for environment variables can be null (to remove said environment variable). Fixes this warning: tests/dotnet/UnitTests/TestBaseClass.cs(294,100): warning CS8620: Argument of type 'Dictionary<string, string?>' cannot be used for parameter 'environment' of type 'Dictionary<string, string>' in 'Task<Execution> Execution.RunWithStringBuildersAsync(string filename, IList<string> arguments, Dictionary<string, string>? environment = null, StringBuilder? standardOutput = null, StringBuilder? standardError = null, TextWriter? log = null, string? workingDirectory = null, TimeSpan? timeout = null, CancellationToken? cancellationToken = null)' due to differences in the nullability of reference types.
- Loading branch information
1 parent
6632f88
commit 02838f2
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
02838f2
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 Build] Tests on macOS Mac Catalina (10.15) passed 💻
✅ All tests on macOS Mac Catalina (10.15) passed.
Pipeline on Agent
Hash: 02838f2c296b95d1814912421c6473b3e5ad8f6d
02838f2
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 Build] Tests on macOS M1 - Mac Big Sur (11.5) passed 💻
✅ All tests on macOS M1 - Mac Big Sur (11.5) passed.
Pipeline on Agent
Hash: 02838f2c296b95d1814912421c6473b3e5ad8f6d
02838f2
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 Build] API Diff 📋
API diff (for current PR)
ℹ️ API Diff (from PR only) (please review changes)
API diff: vsdrops gist
Xamarin
.NET
Xamarin vs .NET
iOS vs Mac Catalyst (.NET)
API diff (vs stable)
✅ API Diff from stable
API diff: vsdrops gist
Xamarin
.NET
Xamarin vs .NET
iOS vs Mac Catalyst (.NET)
Generator diff
✅ Generator Diff (no change)
Pipeline on Agent XAMMINI-071.Monterey'
Hash: 02838f2c296b95d1814912421c6473b3e5ad8f6d
02838f2
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 Build] Artifacts 📚
Packages generated
View packages
Pipeline on Agent XAMMINI-063.Monterey'
Hash: 02838f2c296b95d1814912421c6473b3e5ad8f6d
02838f2
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 Build] Tests failed on VSTS: simulator tests iOS ❌
Tests failed on VSTS: simulator tests iOS.
Test results
1 tests failed, 1028 tests' device not found, 227 tests passed.
Failed tests
Pipeline on Agent XAMBOT-1030.Monterey'
[tools] Fix nullability for the Execution.Environment field. (#15084)