Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Teodor92/MoreDotNet
Browse files Browse the repository at this point in the history
  • Loading branch information
Teodor92 committed Dec 29, 2023
2 parents 13530f1 + ced2bad commit b5dd05e
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 7 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x' # Specify the .NET version here
dotnet-version: '8.0.x'

- name: Restore dependencies
run: dotnet restore
Expand All @@ -26,4 +26,17 @@ jobs:
run: dotnet build --no-restore

- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --logger "trx" /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=TestResults/

- name: Upload Test Results
uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: test-results
path: ./test/MoreDotNet.Test/TestResults/*.trx

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './test/MoreDotNet.Test/TestResults/coverage.info'
Empty file modified .husky/commit-msg
100644 → 100755
Empty file.
Empty file modified .husky/pre-commit
100644 → 100755
Empty file.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines.

<a name="2.0.4"></a>
## [2.0.4](https://www.github.com/Teodor92/MoreDotNet/releases/tag/v2.0.4) (2023-12-16)

### Bug Fixes

* added code coverage badge ([fcb288e](https://www.github.com/Teodor92/MoreDotNet/commit/fcb288ecc098e1a9dc03eb33e756aebf971dbe46))

### Other

* added code coverage reporting ([3869f69](https://www.github.com/Teodor92/MoreDotNet/commit/3869f699b9b86f9478ddd0ea4a67469f3c6293f3))
* change the path to the coverage info file ([cd65ff9](https://www.github.com/Teodor92/MoreDotNet/commit/cd65ff975248d1ead88ea9fb1a6844d965c8246a))
* change the path to the coverage info file ([e98cba5](https://www.github.com/Teodor92/MoreDotNet/commit/e98cba50242f3a4390ed86e6e06758b202a77927))
* fixing incorrect path in ci config ([fe2cde1](https://www.github.com/Teodor92/MoreDotNet/commit/fe2cde1461abb77f22853f8ec94d7c9d466faecc))

<a name="2.0.3"></a>
## [2.0.3](https://www.github.com/Teodor92/MoreDotNet/releases/tag/v2.0.3) (2023-12-16)

### Bug Fixes

* issue around git hooks not executing properly ([5ea11be](https://www.github.com/Teodor92/MoreDotNet/commit/5ea11be7b6bd60a27f35152b545789154e6396bf))
* issues with file encodings and added an additional code coverage package ([517970a](https://www.github.com/Teodor92/MoreDotNet/commit/517970a2ea24ce77b8dbdc53744481157e9a6258))

<a name="2.0.2"></a>
## [2.0.2](https://www.github.com/Teodor92/MoreDotNet/releases/tag/v2.0.2) (2023-12-16)

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[![NuGet version](https://badge.fury.io/nu/MoreDotNet.svg)](https://badge.fury.io/nu/MoreDotNet)

[![Coverage Status](https://coveralls.io/repos/github/Teodor92/MoreDotNet/badge.svg?branch=master)](https://coveralls.io/github/Teodor92/MoreDotNet?branch=master)

## Summary

This project is a collection of handy extension methods for the .NET Framework. The functionality of this package can be separated in the following groups:
Expand Down
4 changes: 2 additions & 2 deletions src/MoreDotNet/MoreDotNet.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>2.0.2</Version>
<Version>2.0.4</Version>
<TargetFramework>net8.0</TargetFramework>
<CodeAnalysisRuleSet>..\..\visual-studio-analyzers.ruleset</CodeAnalysisRuleSet>
<PackageId>MoreDotNet</PackageId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace MoreDotNet.Test.Extensions.Common.RandomExtensions
namespace MoreDotNet.Test.Extensions.Common.RandomExtensions
{
using System;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace MoreDotNet.Test.Extensions.Common.RandomExtensions
namespace MoreDotNet.Test.Extensions.Common.RandomExtensions
{
using System;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace MoreDotNet.Test.Extensions.Common.RandomExtensions
namespace MoreDotNet.Test.Extensions.Common.RandomExtensions
{
using System;
using System.Collections.Generic;
Expand Down
4 changes: 4 additions & 0 deletions test/MoreDotNet.Test/MoreDotNet.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="3.1.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\MoreDotNet\MoreDotNet.csproj" />
Expand Down

0 comments on commit b5dd05e

Please sign in to comment.