Skip to content

Commit 58eb026

Browse files
committed
Merge branch '7.0' into 7.1
# Conflicts: # .github/workflows/dispatched-firebird-tests.yml # .github/workflows/dispatched-mssql-tests.yml # .github/workflows/dispatched-mysql5-tests.yml # .github/workflows/dispatched-pgsql10-tests.yml # .github/workflows/dispatched-pgsql9-tests.yml # .github/workflows/dispatched-sqlite-tests.yml # Orm/Xtensive.Orm.MySql/Sql.Drivers.MySql/v5_0/Translator.cs # Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v8_0/Translator.cs # Orm/Xtensive.Orm.Sqlite/Sql.Drivers.Sqlite/v3/Translator.cs # Orm/Xtensive.Orm.Tests.Sql/ChinookSchemaCreator.cs # Orm/Xtensive.Orm.Tests/Issues/IssueJira0786_SqlServerAggregatesProblem/MaxProcessingTest.cs # Orm/Xtensive.Orm/Orm/KeyMapping.cs # Orm/Xtensive.Orm/Orm/Upgrade/SchemaComparisonResult.cs # Orm/Xtensive.Orm/Sql/Compiler/SqlTranslator.cs
2 parents d20fd6f + 5cb02ad commit 58eb026

27 files changed

+307
-49
lines changed

.github/actions/run-database-tests/action.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ inputs:
77
required: true
88
default: 'Release'
99
type: string
10+
show_all_fails:
11+
description: 'No mute tests'
12+
type: boolean
13+
default: false
14+
required: true
1015
test_output_verbosity:
1116
description: 'Verbosity for dotnet test command'
1217
required: true
@@ -36,21 +41,29 @@ runs:
3641
using: "composite"
3742
steps:
3843
- name: Test Orm.Tests set of tests
44+
env:
45+
GA_NO_IGNORE: ${{ inputs.show_all_fails }}
3946
if: ${{ !cancelled() && fromJSON(inputs.run_main) }}
4047
shell: bash
4148
run: dotnet test Orm/Xtensive.Orm.Tests/Xtensive.Orm.Tests.csproj -c ${{ inputs.build_config }} --no-build --logger "trx;LogFileName=Xtensive.Orm.Tests.trx" --results-directory ${{ inputs.test_results_folder }} -v ${{ inputs.test_output_verbosity }}
4249

4350
- name: Test Orm.Tests.Sql set of tests
51+
env:
52+
GA_NO_IGNORE: ${{ inputs.show_all_fails }}
4453
if: ${{ !cancelled() && fromJSON(inputs.run_sql) }}
4554
shell: bash
4655
run: dotnet test Orm/Xtensive.Orm.Tests.Sql/Xtensive.Orm.Tests.Sql.csproj -c ${{ inputs.build_config }} --no-build --logger "trx;LogFileName=Xtensive.Orm.Tests.Sql.trx" --results-directory ${{ inputs.test_results_folder }} -v ${{ inputs.test_output_verbosity }}
4756

4857
- name: Test BulkOperations extension set of tests
58+
env:
59+
GA_NO_IGNORE: ${{ inputs.show_all_fails }}
4960
if: ${{ !cancelled() && fromJSON(inputs.run_extensions) }}
5061
shell: bash
5162
run: dotnet test Extensions/Xtensive.Orm.BulkOperations.Tests/Xtensive.Orm.BulkOperations.Tests.csproj -c ${{ inputs.build_config }} --no-build --logger "trx;LogFileName=Xtensive.Orm.BulkOperations.Tests.trx" --results-directory ${{ inputs.test_results_folder }} -v ${{ inputs.test_output_verbosity }}
5263

5364
- name: Test Localization extension set of tests
65+
env:
66+
GA_NO_IGNORE: ${{ inputs.show_all_fails }}
5467
if: ${{ !cancelled() && fromJSON(inputs.run_extensions) }}
5568
shell: bash
5669
run: dotnet test Extensions/Xtensive.Orm.Localization.Tests/Xtensive.Orm.Localization.Tests.csproj -c ${{ inputs.build_config }} --no-build --logger "trx;LogFileName=Xtensive.Orm.Localization.Tests.trx" --results-directory ${{ inputs.test_results_folder }} -v ${{ inputs.test_output_verbosity }}
@@ -60,11 +73,15 @@ runs:
6073
# step. To not disturb normal tests execution Reprocessing tests moved outside the action.
6174

6275
- name: Test Security extension set of tests
76+
env:
77+
GA_NO_IGNORE: ${{ inputs.show_all_fails }}
6378
if: ${{ !cancelled() && fromJSON(inputs.run_extensions) }}
6479
shell: bash
6580
run: dotnet test Extensions/Xtensive.Orm.Security.Tests/Xtensive.Orm.Security.Tests.csproj -c ${{ inputs.build_config }} --no-build --logger "trx;LogFileName=Xtensive.Orm.Security.Tests.trx" --results-directory ${{ inputs.test_results_folder }} -v ${{ inputs.test_output_verbosity }}
6681

6782
- name: Test Tracking extension set of tests
83+
env:
84+
GA_NO_IGNORE: ${{ inputs.show_all_fails }}
6885
if: ${{ !cancelled() && fromJSON(inputs.run_extensions) }}
6986
shell: bash
7087
run: dotnet test Extensions/Xtensive.Orm.Tracking.Tests/Xtensive.Orm.Tracking.Tests.csproj -c ${{ inputs.build_config }} --no-build --logger "trx;LogFileName=Xtensive.Orm.Tracking.Tests.trx" --results-directory ${{ inputs.test_results_folder }} -v ${{ inputs.test_output_verbosity }}

.github/workflows/dispatched-firebird-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: ''
1515
type: string
16+
show_all_fails:
17+
description: 'No mute tests'
18+
type: boolean
19+
default: false
20+
required: true
1621
firebird30:
1722
description: 'Firebird 3.0'
1823
type: boolean
@@ -53,6 +58,7 @@ jobs:
5358
target_framework: ${{ matrix.net }}
5459
specific_sha: ${{ inputs.specific_sha }}
5560
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
61+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
5662
test_output_verbosity: minimal
5763
test_run_timeout: 40
5864
run_main: true
@@ -73,6 +79,7 @@ jobs:
7379
target_framework: ${{ matrix.net }}
7480
specific_sha: ${{ inputs.specific_sha }}
7581
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
82+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
7683
test_output_verbosity: minimal
7784
test_run_timeout: 40
7885
run_main: true
@@ -93,6 +100,7 @@ jobs:
93100
target_framework: ${{ matrix.net }}
94101
specific_sha: ${{ inputs.specific_sha }}
95102
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
103+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
96104
test_output_verbosity: minimal
97105
test_run_timeout: 40
98106
run_main: true

.github/workflows/dispatched-mssql-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: ''
1515
type: string
16+
show_all_fails:
17+
description: 'No mute tests'
18+
type: boolean
19+
default: false
20+
required: true
1621
mssql2017:
1722
description: 'MS SQL Server 2017'
1823
type: boolean
@@ -53,6 +58,7 @@ jobs:
5358
target_framework: ${{ matrix.net }}
5459
specific_sha: ${{ inputs.specific_sha }}
5560
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
61+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
5662
test_output_verbosity: minimal
5763
test_run_timeout: 50
5864
run_main: true
@@ -73,6 +79,7 @@ jobs:
7379
target_framework: ${{ matrix.net }}
7480
specific_sha: ${{ inputs.specific_sha }}
7581
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
82+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
7683
test_output_verbosity: minimal
7784
test_run_timeout: 50
7885
run_main: true
@@ -93,6 +100,7 @@ jobs:
93100
target_framework: ${{ matrix.net }}
94101
specific_sha: ${{ inputs.specific_sha }}
95102
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
103+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
96104
test_output_verbosity: minimal
97105
test_run_timeout: 50
98106
run_main: true

.github/workflows/dispatched-mysql5-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: ''
1515
type: string
16+
show_all_fails:
17+
description: 'No mute tests'
18+
type: boolean
19+
default: false
20+
required: true
1621
mysql55:
1722
description: 'MySQL 5.5'
1823
type: boolean
@@ -53,12 +58,13 @@ jobs:
5358
target_framework: ${{ matrix.net }}
5459
specific_sha: ${{ inputs.specific_sha }}
5560
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
61+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
5662
test_output_verbosity: minimal
5763
test_run_timeout: 20
5864
run_main: true
5965
run_sql: true
6066
run_extensions: true
61-
publish_raw_results: false
67+
publish_raw_results: true
6268

6369
test_on_mysql56:
6470
name: Tests on MySQL 5.6
@@ -73,6 +79,7 @@ jobs:
7379
target_framework: ${{ matrix.net }}
7480
specific_sha: ${{ inputs.specific_sha }}
7581
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
82+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
7683
test_output_verbosity: minimal
7784
test_run_timeout: 30
7885
run_main: true
@@ -93,6 +100,7 @@ jobs:
93100
target_framework: ${{ matrix.net }}
94101
specific_sha: ${{ inputs.specific_sha }}
95102
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
103+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
96104
test_output_verbosity: minimal
97105
test_run_timeout: 35
98106
run_main: true

.github/workflows/dispatched-mysql8-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: ''
1515
type: string
16+
show_all_fails:
17+
description: 'No mute tests'
18+
type: boolean
19+
default: false
20+
required: true
1621
mysql80:
1722
description: 'MySQL 8.0'
1823
type: boolean
@@ -63,6 +68,7 @@ jobs:
6368
target_framework: ${{ matrix.net }}
6469
specific_sha: ${{ inputs.specific_sha }}
6570
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
71+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
6672
test_output_verbosity: minimal
6773
test_run_timeout: 30
6874
run_main: true
@@ -83,6 +89,7 @@ jobs:
8389
target_framework: ${{ matrix.net }}
8490
specific_sha: ${{ inputs.specific_sha }}
8591
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
92+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
8693
test_output_verbosity: minimal
8794
test_run_timeout: 30
8895
run_main: true
@@ -103,6 +110,7 @@ jobs:
103110
target_framework: ${{ matrix.net }}
104111
specific_sha: ${{ inputs.specific_sha }}
105112
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
113+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
106114
test_output_verbosity: minimal
107115
test_run_timeout: 30
108116
run_main: true
@@ -123,6 +131,7 @@ jobs:
123131
target_framework: ${{ matrix.net }}
124132
specific_sha: ${{ inputs.specific_sha }}
125133
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
134+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
126135
test_output_verbosity: minimal
127136
test_run_timeout: 30
128137
run_main: true
@@ -143,6 +152,7 @@ jobs:
143152
target_framework: ${{ matrix.net }}
144153
specific_sha: ${{ inputs.specific_sha }}
145154
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
155+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
146156
test_output_verbosity: minimal
147157
test_run_timeout: 30
148158
run_main: true

.github/workflows/dispatched-mysql9-tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: ''
1515
type: string
16+
show_all_fails:
17+
description: 'No mute tests'
18+
type: boolean
19+
default: false
20+
required: true
1621
mysql90:
1722
description: 'MySQL 9.0'
1823
type: boolean
@@ -58,6 +63,7 @@ jobs:
5863
target_framework: ${{ matrix.net }}
5964
specific_sha: ${{ inputs.specific_sha }}
6065
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
66+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
6167
test_output_verbosity: minimal
6268
test_run_timeout: 30
6369
run_main: true
@@ -78,6 +84,7 @@ jobs:
7884
target_framework: ${{ matrix.net }}
7985
specific_sha: ${{ inputs.specific_sha }}
8086
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
87+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
8188
test_output_verbosity: minimal
8289
test_run_timeout: 30
8390
run_main: true
@@ -98,6 +105,7 @@ jobs:
98105
target_framework: ${{ matrix.net }}
99106
specific_sha: ${{ inputs.specific_sha }}
100107
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
108+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
101109
test_output_verbosity: minimal
102110
test_run_timeout: 30
103111
run_main: true
@@ -118,6 +126,7 @@ jobs:
118126
target_framework: ${{ matrix.net }}
119127
specific_sha: ${{ inputs.specific_sha }}
120128
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
129+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
121130
test_output_verbosity: minimal
122131
test_run_timeout: 30
123132
run_main: true

.github/workflows/dispatched-pgsql10-tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: ''
1515
type: string
16+
show_all_fails:
17+
description: 'No mute tests'
18+
type: boolean
19+
default: false
20+
required: true
1621
pgsql100:
1722
description: 'PostgreSQL 10'
1823
type: boolean
@@ -78,6 +83,7 @@ jobs:
7883
target_framework: ${{ matrix.net }}
7984
specific_sha: ${{ inputs.specific_sha }}
8085
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
86+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
8187
test_output_verbosity: minimal
8288
test_run_timeout: 30
8389
run_main: true
@@ -98,6 +104,7 @@ jobs:
98104
target_framework: ${{ matrix.net }}
99105
specific_sha: ${{ inputs.specific_sha }}
100106
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
107+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
101108
test_output_verbosity: minimal
102109
test_run_timeout: 30
103110
run_main: true
@@ -118,6 +125,7 @@ jobs:
118125
target_framework: ${{ matrix.net }}
119126
specific_sha: ${{ inputs.specific_sha }}
120127
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
128+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
121129
test_output_verbosity: minimal
122130
test_run_timeout: 30
123131
run_main: true
@@ -138,6 +146,7 @@ jobs:
138146
target_framework: ${{ matrix.net }}
139147
specific_sha: ${{ inputs.specific_sha }}
140148
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
149+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
141150
test_output_verbosity: minimal
142151
test_run_timeout: 30
143152
run_main: true
@@ -158,6 +167,7 @@ jobs:
158167
target_framework: ${{ matrix.net }}
159168
specific_sha: ${{ inputs.specific_sha }}
160169
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
170+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
161171
test_output_verbosity: minimal
162172
test_run_timeout: 30
163173
run_main: true
@@ -178,6 +188,7 @@ jobs:
178188
target_framework: ${{ matrix.net }}
179189
specific_sha: ${{ inputs.specific_sha }}
180190
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
191+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
181192
test_output_verbosity: minimal
182193
test_run_timeout: 30
183194
run_main: true
@@ -198,6 +209,7 @@ jobs:
198209
target_framework: ${{ matrix.net }}
199210
specific_sha: ${{ inputs.specific_sha }}
200211
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
212+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
201213
test_output_verbosity: minimal
202214
test_run_timeout: 30
203215
run_main: true
@@ -218,6 +230,7 @@ jobs:
218230
target_framework: ${{ matrix.net }}
219231
specific_sha: ${{ inputs.specific_sha }}
220232
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
233+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
221234
test_output_verbosity: minimal
222235
test_run_timeout: 30
223236
run_main: true

.github/workflows/dispatched-pgsql9-tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: ''
1515
type: string
16+
show_all_fails:
17+
description: 'No mute tests'
18+
type: boolean
19+
default: false
20+
required: true
1621
pgsql91:
1722
description: 'PostgreSQL 9.1'
1823
type: boolean
@@ -71,12 +76,13 @@ jobs:
7176
target_framework: ${{ matrix.net }}
7277
specific_sha: ${{ inputs.specific_sha }}
7378
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
79+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
7480
test_output_verbosity: minimal
7581
test_run_timeout: 30
7682
run_main: true
7783
run_sql: true
7884
run_extensions: true
79-
publish_raw_results: false
85+
publish_raw_results: true
8086

8187
test_on_pgsql92:
8288
name: Tests on PostgreSQL 9.2
@@ -91,12 +97,13 @@ jobs:
9197
target_framework: ${{ matrix.net }}
9298
specific_sha: ${{ inputs.specific_sha }}
9399
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
100+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
94101
test_output_verbosity: minimal
95102
test_run_timeout: 30
96103
run_main: true
97104
run_sql: true
98105
run_extensions: true
99-
publish_raw_results: false
106+
publish_raw_results: true
100107

101108
test_on_pgsql96:
102109
name: Tests on PostgreSQL 9.6
@@ -111,9 +118,10 @@ jobs:
111118
target_framework: ${{ matrix.net }}
112119
specific_sha: ${{ inputs.specific_sha }}
113120
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
121+
show_all_fails: ${{ fromJSON(inputs.show_all_fails) }}
114122
test_output_verbosity: minimal
115123
test_run_timeout: 30
116124
run_main: true
117125
run_sql: true
118126
run_extensions: true
119-
publish_raw_results: false
127+
publish_raw_results: true

0 commit comments

Comments
 (0)