File tree Expand file tree Collapse file tree 4 files changed +23
-5
lines changed Expand file tree Collapse file tree 4 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ TimeSeries
1111NuGet
1212cli
1313dotnet
14- HSET
14+ HSET
15+ codecov
Original file line number Diff line number Diff line change 3030 dotnet-version : ${{matrix.dotnet-version}}
3131 - name : run redis-stack-server docker
3232 run : docker run -p 6379:6379 -d redislabs/redismod:edge
33- - name : compile
34- run : dotnet build
35- - name : run tests
36- run : dotnet test
33+ - name : Restore dependencies
34+ run : dotnet restore
35+ - name : Build
36+ run : dotnet build --no-restore /p:ContinuousIntegrationBuild=true
37+ - name : Test
38+ run : dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
39+ - name : Codecov
40+ uses : codecov/codecov-action@v3
41+ with :
42+ token : ${{secrets.CODECOV_TOKEN}}
43+ verbose : true
44+
Original file line number Diff line number Diff line change 11[ ![ license] ( https://img.shields.io/github/license/redis/NRedisStack.svg )] ( https://raw.githubusercontent.com/redis/NRedisStack/master/LICENSE )
22[ ![ .github/workflows/integration.yml] ( https://github.com/redis/NRedisStack/actions/workflows/integration.yml/badge.svg )] ( https://github.com/redis/NRedisStack/actions/workflows/integration.yml )
33[ ![ pre-release] ( https://img.shields.io/github/v/release/redis/nredisstack?include_prereleases&label=prerelease )] ( https://github.com/redis/nredisstack/releases )
4+ [ ![ codecov] ( https://codecov.io/gh/redis/NRedisStack/branch/master/graph/badge.svg?token=4B0KCNK12D )] ( https://codecov.io/gh/redis/NRedisStack )
45
56
67# NRedisStack
Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <ItemGroup >
12+ <PackageReference Include =" coverlet.collector" Version =" 3.2.0" >
13+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
14+ <PrivateAssets >all</PrivateAssets >
15+ </PackageReference >
16+ <PackageReference Include =" coverlet.msbuild" Version =" 3.2.0" >
17+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
18+ <PrivateAssets >all</PrivateAssets >
19+ </PackageReference >
1220 <PackageReference Include =" Moq" Version =" 4.18.1" />
1321 <PackageReference Include =" coverlet.collector" Version =" 3.1.2" />
1422 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11.0" />
You can’t perform that action at this time.
0 commit comments