File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 - Directory.Build.props
2727 - Directory.Build.targets
2828 - Directory.Packages.props
29-
3029jobs :
3130 build :
32- runs-on : ubuntu-latest
33- steps :
34- - uses : actions/checkout@v3
35- - name : Setup .NET
36- uses : actions/setup-dotnet@v4
37- with :
38- dotnet-version : |
39- 8.0.x
40- 9.0.x
41- - name : Restore
42- run : |
43- dotnet restore ./src/HealthChecks.Redis/HealthChecks.Redis.csproj &&
44- dotnet restore ./test/HealthChecks.Redis.Tests/HealthChecks.Redis.Tests.csproj
45- - name : Check formatting
46- run : |
47- dotnet format --no-restore --verify-no-changes --severity warn ./src/HealthChecks.Redis/HealthChecks.Redis.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1) &&
48- dotnet format --no-restore --verify-no-changes --severity warn ./test/HealthChecks.Redis.Tests/HealthChecks.Redis.Tests.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1)
49- - name : Build
50- run : |
51- dotnet build --no-restore ./src/HealthChecks.Redis/HealthChecks.Redis.csproj &&
52- dotnet build --no-restore ./test/HealthChecks.Redis.Tests/HealthChecks.Redis.Tests.csproj
53- - name : Test
54- run : >
55- dotnet test
56- ./test/HealthChecks.Redis.Tests/HealthChecks.Redis.Tests.csproj
57- --no-restore
58- --no-build
59- --collect "XPlat Code Coverage"
60- --results-directory .coverage
61- --
62- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
63- - name : Upload Coverage
64- uses : codecov/codecov-action@v5
65- with :
66- flags : Redis
67- directory : .coverage
31+ uses : ./.github/workflows/reusable_ci_workflow.yml
32+ with :
33+ PROJECT_PATH : ./src/HealthChecks.Redis/HealthChecks.Redis.csproj
34+ TEST_PROJECT_PATH : ./test/HealthChecks.Redis.Tests/HealthChecks.Redis.Tests.csproj
35+ CODECOV_FLAGS : Redis
You can’t perform that action at this time.
0 commit comments