@@ -23,13 +23,12 @@ jobs:
23
23
uses : actions/setup-dotnet@v3
24
24
with :
25
25
dotnet-version : |
26
- 3.1.x
27
26
8.0.x
28
27
- name : Build
29
28
run : dotnet build
30
- - uses : actions/upload-artifact@v3
29
+ - uses : actions/upload-artifact@v4
31
30
with :
32
- name : build_output
31
+ name : build_log_${{ matrix.os }}
33
32
retention-days : 1
34
33
path : |
35
34
**/*.binlog
@@ -55,17 +54,16 @@ jobs:
55
54
uses : actions/setup-dotnet@v3
56
55
with :
57
56
dotnet-version : |
58
- 3.1.x
59
57
8.0.x
60
58
- name : Test
61
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
59
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
62
60
env :
63
61
ORLEANSREDISCONNECTIONSTRING : " localhost:6379,ssl=False,abortConnect=False"
64
62
- name : Archive Test Results
65
63
if : always()
66
- uses : actions/upload-artifact@v3
64
+ uses : actions/upload-artifact@v4
67
65
with :
68
- name : test_output
66
+ name : test_output_${{ github.job }}
69
67
retention-days : 1
70
68
path : |
71
69
**/TestResults/*
@@ -83,17 +81,16 @@ jobs:
83
81
uses : actions/setup-dotnet@v3
84
82
with :
85
83
dotnet-version : |
86
- 3.1.x
87
84
8.0.x
88
85
- name : Test
89
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Clustering)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
86
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Clustering)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
90
87
env :
91
88
CASSANDRAVERSION : ${{ matrix.dbversion }}
92
89
- name : Archive Test Results
93
90
if : always()
94
- uses : actions/upload-artifact@v3
91
+ uses : actions/upload-artifact@v4
95
92
with :
96
- name : test_output
93
+ name : test_output_${{ github.job }}_${{ matrix.dbversion }}
97
94
retention-days : 1
98
95
path : |
99
96
**/TestResults/*
@@ -123,18 +120,17 @@ jobs:
123
120
uses : actions/setup-dotnet@v3
124
121
with :
125
122
dotnet-version : |
126
- 3.1.x
127
123
8.0.x
128
124
- name : Test
129
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
125
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
130
126
env :
131
127
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="False positive")]
132
128
ORLEANSPOSTGRESCONNECTIONSTRING : " Server=127.0.0.1;Port=5432;Pooling=false;User Id=postgres;Password=postgres;SSL Mode=Disable"
133
129
- name : Archive Test Results
134
130
if : always()
135
- uses : actions/upload-artifact@v3
131
+ uses : actions/upload-artifact@v4
136
132
with :
137
- name : test_output
133
+ name : test_output_${{ github.job }}
138
134
retention-days : 1
139
135
path : |
140
136
**/TestResults/*
@@ -159,18 +155,17 @@ jobs:
159
155
uses : actions/setup-dotnet@v3
160
156
with :
161
157
dotnet-version : |
162
- 3.1.x
163
158
8.0.x
164
159
- name : Test
165
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
160
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
166
161
env :
167
162
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Not a secret")]
168
163
ORLEANSMYSQLCONNECTIONSTRING : " Server=127.0.0.1;Port=3306;UId=root;Pwd=mariadb;"
169
164
- name : Archive Test Results
170
165
if : always()
171
- uses : actions/upload-artifact@v3
166
+ uses : actions/upload-artifact@v4
172
167
with :
173
- name : test_output
168
+ name : test_output_${{ github.job }}
174
169
retention-days : 1
175
170
path : |
176
171
**/TestResults/*
@@ -197,18 +192,17 @@ jobs:
197
192
uses : actions/setup-dotnet@v3
198
193
with :
199
194
dotnet-version : |
200
- 3.1.x
201
195
8.0.x
202
196
- name : Test
203
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
197
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
204
198
env :
205
199
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Not a secret")]
206
200
ORLEANSMSSQLCONNECTIONSTRING : " Server=127.0.0.1,1433;User Id=SA;Password=yourWeak(!)Password;"
207
201
- name : Archive Test Results
208
202
if : always()
209
- uses : actions/upload-artifact@v3
203
+ uses : actions/upload-artifact@v4
210
204
with :
211
- name : test_output
205
+ name : test_output_${{ github.job }}
212
206
retention-days : 1
213
207
path : |
214
208
**/TestResults/*
@@ -235,20 +229,19 @@ jobs:
235
229
uses : actions/setup-dotnet@v3
236
230
with :
237
231
dotnet-version : |
238
- 3.1.x
239
232
8.0.x
240
233
- name : Test
241
- run : dotnet test --filter "Category=${{ matrix.provider }}&Category=${{ matrix.suite }}" --framework ${{ matrix.framework }} --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
234
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&Category=${{ matrix.suite }}" --framework ${{ matrix.framework }} --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
242
235
env :
243
236
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Not a secret")]
244
237
# [SuppressMessage("Microsoft.Security", "CSCAN0090:ConfigFile", Justification="Not a secret")]
245
238
# [SuppressMessage("Microsoft.Security", "CSCAN0220:DefaultPasswordContexts", Justification="Not a secret")]
246
239
ORLEANSDATACONNECTIONSTRING : " DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;"
247
240
- name : Archive Test Results
248
241
if : always()
249
- uses : actions/upload-artifact@v3
242
+ uses : actions/upload-artifact@v4
250
243
with :
251
- name : test_output
244
+ name : test_output_${{ github.job }}
252
245
retention-days : 1
253
246
path : |
254
247
**/TestResults/*
@@ -284,17 +277,17 @@ jobs:
284
277
$IPAddress = "127.0.0.1" #(Get-NetIPAddress -AddressFamily IPV4 -AddressState Preferred -PrefixOrigin Manual | Select-Object IPAddress -First 1).IPAddress ?? "127.0.0.1"
285
278
Add-Content -Path $env:GITHUB_ENV -Value "ORLEANSCOSMOSDBACCOUNTENDPOINT=https://$($IPAddress):8081/"
286
279
- name : Test
287
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --framework ${{ matrix.framework }} --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
280
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --framework ${{ matrix.framework }} --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
288
281
env :
289
282
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Not a secret")]
290
283
# ORLEANSCOSMOSDBACCOUNTENDPOINT: "https://127.0.0.1:8081/"
291
284
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Not a secret")]
292
285
ORLEANSCOSMOSDBACCOUNTKEY : " C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="
293
286
- name : Archive Test Results
294
287
if : always()
295
- uses : actions/upload-artifact@v3
288
+ uses : actions/upload-artifact@v4
296
289
with :
297
- name : test_output
290
+ name : test_output_${{ github.job }}
298
291
retention-days : 1
299
292
path : |
300
293
**/TestResults/*
@@ -318,20 +311,19 @@ jobs:
318
311
uses : actions/setup-dotnet@v3
319
312
with :
320
313
dotnet-version : |
321
- 3.1.x
322
314
8.0.x
323
315
- name : Test
324
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
316
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
325
317
env :
326
318
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Not a secret")]
327
319
# [SuppressMessage("Microsoft.Security", "CSCAN0090:ConfigFile", Justification="Not a secret")]
328
320
# [SuppressMessage("Microsoft.Security", "CSCAN0220:DefaultPasswordContexts", Justification="Not a secret")]
329
321
ORLEANSCONSULCONNECTIONSTRING : " http://localhost:8500"
330
322
- name : Archive Test Results
331
323
if : always()
332
- uses : actions/upload-artifact@v3
324
+ uses : actions/upload-artifact@v4
333
325
with :
334
- name : test_output
326
+ name : test_output_${{ github.job }}
335
327
retention-days : 1
336
328
path : |
337
329
**/TestResults/*
@@ -355,17 +347,16 @@ jobs:
355
347
uses : actions/setup-dotnet@v3
356
348
with :
357
349
dotnet-version : |
358
- 3.1.x
359
350
8.0.x
360
351
- name : Test
361
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
352
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
362
353
env :
363
354
ORLEANSZOOKEEPERCONNECTIONSTRING : " localhost:2181"
364
355
- name : Archive Test Results
365
356
if : always()
366
- uses : actions/upload-artifact@v3
357
+ uses : actions/upload-artifact@v4
367
358
with :
368
- name : test_output
359
+ name : test_output_${{ github.job }}
369
360
retention-days : 1
370
361
path : |
371
362
**/TestResults/*
@@ -393,10 +384,9 @@ jobs:
393
384
uses : actions/setup-dotnet@v3
394
385
with :
395
386
dotnet-version : |
396
- 3.1.x
397
387
8.0.x
398
388
- name : Test
399
- run : dotnet test --filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
389
+ run : dotnet test --framework net8.0 -- filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)" --blame-hang-timeout 10m --logger "trx" -- -parallel none -noshadow
400
390
env :
401
391
ORLEANSDYNAMODBSERVICE : " http://127.0.0.1:8000"
402
392
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Not a secret")]
@@ -405,9 +395,9 @@ jobs:
405
395
ORLEANSDYNAMODBSECRETKEY : " pass"
406
396
- name : Archive Test Results
407
397
if : always()
408
- uses : actions/upload-artifact@v3
398
+ uses : actions/upload-artifact@v4
409
399
with :
410
- name : test_output
400
+ name : test_output_${{ github.job }}
411
401
retention-days : 1
412
402
path : |
413
403
**/TestResults/*
0 commit comments