-
Notifications
You must be signed in to change notification settings - Fork 388
Add action for release draft #1712
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
Open
Bertk
wants to merge
20
commits into
coverlet-coverage:master
Choose a base branch
from
Bertk:add-action
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or 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
Collaborator
Bertk
commented
Nov 21, 2024
- add release-draft.yml
- update existing actions using permission read for content
* first tests * some more test + refactoring * update new unit tests * refactoring * test
…ore.coverage.tests (coverlet-coverage#1709) * update versions and resolve warnings RetryHelper for specific exceptions * remove Tmds.ExecFunction package from coverlet.core.tests * add coverlet.core.coverage.tests * use .NET 6.0 assemblies * fix some unit tests * simplify collection intialization * fix test AsyncForeach * Disable again test AsyncAwait_Issue_669_2 * remove coverlet.core transitive dependencies * Delete test/coverlet.core.coverage.tests/out.txt * Delete test/coverlet.core.coverage.tests/public.snk * Delete test/coverlet.core.coverage.tests/key.publickey * fix unresponsive Test Explorer problem (RetryHelper.Do AggregateException) - Changed task in `publish-coverage-results.yml` from `PublishCodeCoverageResults@1` to `PublishCodeCoverageResults@2` and added `reportDirectory` parameter for coverage report location. - Added overloaded `BackupOriginalModule` methods in `InstrumentationHelper.cs` to improve backup flexibility, including a new `withBackupList` parameter. - Updated `InstrumentationHelperTests.cs` to align tests with the new method signature for backing up original modules. * Add CoverageMergeTests for CoverageResult merging Introduced a new test class `CoverageMergeTests` in the `Coverlet.Core.Tests` namespace. This class includes multiple unit tests for the `Merge` method of the `CoverageResult` class, validating the merging of modules, documents, classes, methods, lines, and branches to ensure data integrity and correct functionality. * Added tests in `CoverageTests.cs` to verify `GetSourceLinkUrl` behavior for matching and non-matching documents. * Minimum line coverage 90% * revert RetryHelper update
* use xunit.v3 for unit tests Update dependencies and refactor test framework - Bump `Nerdbank.GitVersioning` to version `3.7.115`. - Add new package references for `Tmds.ExecFunction`, `xunit.v3`, and `System.Buffers`. - Remove outdated package references in `Directory.Packages.props`. - Update `Microsoft.NET.Test.Sdk` and `xunit` versions across projects. - Refactor tests to use standard `Fact` attributes instead of `ConditionalFact`. - Enhance logging and error handling in `CoverletInProcDataCollector` and `InstrumentationTask` tests. - Clean up deprecated code and comments in test files. - Adjust project files for compatibility with the latest .NET SDK. * cleanup '#pragma warning disable' * Update publish-coverage-results.yml * enabling Microsoft Testing Platform * enabling Microsoft Testing Platform for all tests * Revert "enabling Microsoft Testing Platform for all tests" This reverts commit 0447967. * enable Microsoft Testing Platform for coverlet core tests * remove filters handled by publish-coverage-results.yml * add test Execute_StateUnderTest_Success() * fix warning * Update package versions to use property references Refactor project files to replace hardcoded package version numbers with property references for improved maintainability. New properties added in `Directory.Packages.props` include `MicrosoftBuildVersion`, `MicrosoftCodeAnalysisVersion`, `MicrosoftNETTestSdkVersion`, `NugetPackageVersion`, `XunitV3Version`, and `XunitRunnerVisualstudioVersion`. Updated `PackageVersion` and `PackageReference` entries in relevant project files to utilize these properties, enhancing consistency and simplifying future version updates. * use Microsoft Testing Plaform for coverlet.msbuild.task.tests * Update projects to .NET 8 and improve CI configurations - Changed build configuration names in Azure Pipelines to lowercase for consistency. - Add `build.sh` with commands for building and testing with coverage. - Updated `build.yml` to reflect new casing and added diagnostic logging for test results. - Adjusted `coverlet.collector.csproj` and related project files for proper packaging and dependency resolution. - Modified `coverlet.msbuild.props` to set `CoverletToolsPath` based on the operating system. - Added new properties in `coverlet.integration.tests.csproj` for improved testing platform support. * small documentation update * Update changelog, documentation and add helper script `build.sh` * disable Microsoft.Testing.Platform for coverlet.msbuild.tasks.tests * Update NuGet package versions in Directory.Packages.props This commit updates several NuGet package versions in the `Directory.Packages.props` file, including: - `NugetPackageVersion` from `6.13.1` to `6.13.2` - `XunitV3Version` from `1.1.0` to `2.0.0` - `Microsoft.Extensions.Logging.Abstractions` from `8.0.2` to `8.0.3` - Fixed a syntax error in the `NuGet.Frameworks` package version line - `LinqKit.Microsoft.EntityFrameworkCore` from `8.1.7` to `8.1.8` - `xunit.v3` from `1.1.0` to `2.0.0` Other package versions remain unchanged, maintaining the overall structure of the file. * use property XunitV3Version * use property XunitRunnerVisualstudioVersion * incorporate review comments
…ge#1745) * init * update changelog + bump sdk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.