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