Skip to content

Commit

Permalink
Merge e4ad7c2 into eacb6fd
Browse files Browse the repository at this point in the history
  • Loading branch information
jslachta committed May 17, 2021
2 parents eacb6fd + e4ad7c2 commit ff0d30b
Show file tree
Hide file tree
Showing 3 changed files with 408 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,24 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x

- name: Restore dependencies
run: dotnet restore src/LocaleNames.sln

- name: Build
run: dotnet build --no-restore src/LocaleNames.sln

- name: Test
run: dotnet test --no-build --verbosity normal src/LocaleNames.sln
run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=./lcov.info src/LocaleNames.Test/LocaleNames.Test.csproj

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: ${{ github.workspace }}/src/LocaleNames.Test/lcov.info

4 changes: 4 additions & 0 deletions src/LocaleNames.Test/LocaleNames.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.msbuild" Version="3.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.3" />
Expand Down
Loading

0 comments on commit ff0d30b

Please sign in to comment.