Add integration testing for NuGet package installation and basic functionality#26
Conversation
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
|
@copilot The new CI integration test job cannot find the nuget package due to the complex folder structure of the build jobs package artifact (it contains src/DemaConsuling.ReqStream/bin/Release/DemaConsulting.ReqStream.x.y.z-run.w.nupkg). I believe the best approach is to simplify the package artifact structure so the nupkg is at the root. This can be done by modifying the actions/upload-artifact path pattern to:
Additionally please note the snupkg file isn't being generated. The csproj file should be updated to:
|
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Fixed in commit c545a5c:
Both .nupkg and .snupkg files are now generated successfully. |
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
|
@copilot The integration test failed to install the dotnet tool - possibly the install needs to specify the exact version. |
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Integration Testing Implementation - Complete ✅
Changes Made
Simplified artifact structure - Updated upload-artifact paths to target specific files:
src/DemaConsulting.ReqStream/bin/Release/*.nupkgsrc/DemaConsulting.ReqStream/bin/Release/*.snupkgAdded symbol package support - Updated .csproj with:
<IncludeSymbols>true</IncludeSymbols><SymbolPackageFormat>snupkg</SymbolPackageFormat><PublishRepositoryUrl>true</PublishRepositoryUrl><ContinuousIntegrationBuild>set when GITHUB_ACTIONS is trueMicrosoft.SourceLink.GitHubpackage reference (version 8.0.0)Simplified integration test - Removed find command since packages are now directly in the packages folder
Fixed package installation - Added
--versionparameter to ensure correct package version is installedVerified changes:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.