@@ -17,19 +17,19 @@ jobs:
17
17
steps :
18
18
- template : ' .ci/build-steps.yml'
19
19
- task : DotNetCoreCLI@2
20
- displayName : ' Publish SideBySide (net472)'
20
+ displayName : ' Publish IntegrationTests (net472)'
21
21
inputs :
22
22
command : ' publish'
23
- arguments : ' -c Release -f net472 tests/SideBySide/SideBySide .csproj'
23
+ arguments : ' -c Release -f net472 tests/IntegrationTests/IntegrationTests .csproj'
24
24
publishWebProjects : false
25
25
zipAfterPublish : false
26
26
- task : PublishPipelineArtifact@0
27
27
inputs :
28
- artifactName : ' SideBySide -net472-$(Agent.OS)'
29
- targetPath : ' tests/SideBySide /bin/Release/net472/publish'
28
+ artifactName : ' IntegrationTests -net472-$(Agent.OS)'
29
+ targetPath : ' tests/IntegrationTests /bin/Release/net472/publish'
30
30
31
- - job : windows_baseline
32
- displayName : ' Baseline '
31
+ - job : windows_mysql_data
32
+ displayName : ' MySql.Data Tests '
33
33
pool :
34
34
vmimage : ' windows-2019'
35
35
steps :
39
39
inputs :
40
40
sourceFolder : ' .ci/config'
41
41
contents : ' config.json'
42
- targetFolder : ' tests/SideBySide '
42
+ targetFolder : ' tests/IntegrationTests '
43
43
- task : UseDotNet@2
44
44
displayName : ' Install .NET Core 6.0'
45
45
inputs :
@@ -49,17 +49,17 @@ jobs:
49
49
inputs :
50
50
version : $(DotNetCoreSdkVersion)
51
51
- task : DotNetCoreCLI@2
52
- displayName : ' Unit tests'
52
+ displayName : ' MySql.Data unit tests'
53
53
inputs :
54
54
command : ' test'
55
- arguments : ' tests\MySqlConnector.Tests\MySqlConnector.Tests.csproj -c Baseline '
56
- testRunTitle : ' Baseline unit tests'
55
+ arguments : ' tests\MySqlConnector.Tests\MySqlConnector.Tests.csproj -c MySqlData '
56
+ testRunTitle : ' MySql.Data unit tests'
57
57
- task : DotNetCoreCLI@2
58
- displayName : ' Baseline tests'
58
+ displayName : ' MySql.Data integration tests'
59
59
inputs :
60
60
command : ' test'
61
- arguments : ' tests\SideBySide\SideBySide .csproj -c Baseline '
62
- testRunTitle : ' Baseline tests'
61
+ arguments : ' tests\IntegrationTests\IntegrationTests .csproj -c MySqlData '
62
+ testRunTitle : ' MySql.Data integration tests'
63
63
env :
64
64
DATA__UNSUPPORTEDFEATURES : ' Ed25519,QueryAttributes,StreamingResults,UnixDomainSocket'
65
65
DATA__CONNECTIONSTRING : ' server=localhost;port=3306;user id=root;password=test;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600'
72
72
inputs :
73
73
testResultsFormat : VSTest
74
74
testResultsFiles : ' **/*.trx'
75
- testRunTitle : ' Baseline Tests'
75
+ testRunTitle : ' MySql.Data Tests'
76
76
failTaskOnFailedTests : true
77
77
78
78
- job : linux_unit_tests
@@ -125,16 +125,16 @@ jobs:
125
125
displayName : ' Copy Azure config'
126
126
inputs :
127
127
targetType : inline
128
- script : Copy-Item -Path ".\.ci\config\config.ssl.json" -Destination ".\tests\SideBySide \config.json"
128
+ script : Copy-Item -Path ".\.ci\config\config.ssl.json" -Destination ".\tests\IntegrationTests \config.json"
129
129
- task : DotNetCoreCLI@2
130
130
displayName : ' Restore packages'
131
131
inputs :
132
132
command : ' restore'
133
133
- task : DotNetCoreCLI@2
134
- displayName : ' Side by Side tests (net6.0)'
134
+ displayName : ' Integration tests (net6.0)'
135
135
inputs :
136
136
command : ' test'
137
- projects : ' tests/SideBySide/SideBySide .csproj'
137
+ projects : ' tests/IntegrationTests/IntegrationTests .csproj'
138
138
arguments : ' -c Release -f net6.0 --no-restore'
139
139
testRunTitle : ${{ format('{0}, $(Agent.OS), {1}, {2}', 'Azure', 'net6.0', 'SSL') }}
140
140
env :
@@ -162,21 +162,21 @@ jobs:
162
162
inputs :
163
163
sourceFolder : ' .ci/config'
164
164
contents : ' config.json'
165
- targetFolder : ' tests/SideBySide '
165
+ targetFolder : ' tests/IntegrationTests '
166
166
- task : PowerShell@2
167
167
displayName : ' Remove target frameworks'
168
168
inputs :
169
169
targetType : ' inline'
170
- script : ' ((Get-Content .\tests\SideBySide\SideBySide .csproj -Raw) -replace('' <TargetFrameworks>.*</TargetFrameworks>'' , '' <TargetFrameworks>net472;net7.0</TargetFrameworks>'' )) | Set-Content .\tests\SideBySide\SideBySide .csproj'
170
+ script : ' ((Get-Content .\tests\IntegrationTests\IntegrationTests .csproj -Raw) -replace('' <TargetFrameworks>.*</TargetFrameworks>'' , '' <TargetFrameworks>net472;net7.0</TargetFrameworks>'' )) | Set-Content .\tests\IntegrationTests\IntegrationTests .csproj'
171
171
- task : DotNetCoreCLI@2
172
172
displayName : ' Restore packages'
173
173
inputs :
174
174
command : ' restore'
175
175
- task : DotNetCoreCLI@2
176
- displayName : ' Side by Side tests (net472/net7.0)'
176
+ displayName : ' Integration tests (net472/net7.0)'
177
177
inputs :
178
178
command : ' test'
179
- projects : ' tests/SideBySide/SideBySide .csproj'
179
+ projects : ' tests/IntegrationTests/IntegrationTests .csproj'
180
180
arguments : ' -c Release --no-restore'
181
181
testRunTitle : ${{ format('{0}, $(Agent.OS), {1}, {2}', 'mysql:8.0', 'net472/net7.0', 'No SSL') }}
182
182
env :
@@ -203,22 +203,22 @@ jobs:
203
203
displayName : ' Install .NET Core'
204
204
inputs :
205
205
version : $(DotNetCoreSdkVersion)
206
- - script : copy .ci\config\config.json tests\SideBySide \config.json
206
+ - script : copy .ci\config\config.json tests\IntegrationTests \config.json
207
207
displayName : ' Copy config.json'
208
208
- task : PowerShell@2
209
209
displayName : ' Remove target frameworks'
210
210
inputs :
211
211
targetType : ' inline'
212
- script : ' ((Get-Content .\tests\SideBySide\SideBySide .csproj -Raw) -replace('' <TargetFrameworks>.*</TargetFrameworks>'' , '' <TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>'' )) | Set-Content .\tests\SideBySide\SideBySide .csproj'
212
+ script : ' ((Get-Content .\tests\IntegrationTests\IntegrationTests .csproj -Raw) -replace('' <TargetFrameworks>.*</TargetFrameworks>'' , '' <TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>'' )) | Set-Content .\tests\IntegrationTests\IntegrationTests .csproj'
213
213
- task : DotNetCoreCLI@2
214
214
displayName : ' Restore packages'
215
215
inputs :
216
216
command : ' restore'
217
217
- task : DotNetCoreCLI@2
218
- displayName : ' Side by Side tests (netcoreapp3.1/net6.0)'
218
+ displayName : ' Integration tests (netcoreapp3.1/net6.0)'
219
219
inputs :
220
220
command : ' test'
221
- projects : ' tests/SideBySide/SideBySide .csproj'
221
+ projects : ' tests/IntegrationTests/IntegrationTests .csproj'
222
222
arguments : ' -c Release --no-restore'
223
223
testRunTitle : ${{ format('{0}, $(Agent.OS), {1}, {2}', 'mysql:8.0', 'netcoreapp3.1/net6.0', 'No SSL') }}
224
224
env :
0 commit comments