<commit_before>parameters:
  unsupportedFeatures: ''
  image: ''
  DotNetCoreSdkVersion: ''

steps:
- bash: ${{ format('.ci/docker-run.sh {0} 3300 {1}', parameters.image, parameters.unsupportedFeatures) }}
  displayName: 'Start Docker container'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600'
    platform: 'netcoreapp2.0'
    description: 'No SSL'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=required;DefaultCommandTimeout=3600;certificate file=$(Build.Repository.LocalPath)/.ci/server/certs/ssl-client.pfx'
    platform: 'netcoreapp2.0'
    description: 'SSL'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600'
    platform: 'netcoreapp2.1'
    description: 'No SSL'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=required;DefaultCommandTimeout=3600;certificate file=$(Build.Repository.LocalPath)/.ci/server/certs/ssl-client.pfx'
    platform: 'netcoreapp2.1'
    description: 'SSL'
- task: DotNetCoreInstaller@0
  displayName: 'Install .NET Core'
  inputs:
    version: $(DotNetCoreSdkVersion)
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600'
    platform: 'netcoreapp3.0'
    description: 'No SSL'<commit_msg>Test compression with Azure Pipelines.<commit_after>parameters:
  unsupportedFeatures: ''
  image: ''
  DotNetCoreSdkVersion: ''

steps:
- bash: ${{ format('.ci/docker-run.sh {0} 3300 {1}', parameters.image, parameters.unsupportedFeatures) }}
  displayName: 'Start Docker container'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600'
    platform: 'netcoreapp2.0'
    description: 'No SSL'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=required;DefaultCommandTimeout=3600;certificate file=$(Build.Repository.LocalPath)/.ci/server/certs/ssl-client.pfx'
    platform: 'netcoreapp2.0'
    description: 'SSL'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600'
    platform: 'netcoreapp2.1'
    description: 'No SSL'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=required;DefaultCommandTimeout=3600;certificate file=$(Build.Repository.LocalPath)/.ci/server/certs/ssl-client.pfx'
    platform: 'netcoreapp2.1'
    description: 'SSL'
- task: UseDotNet@2
  displayName: 'Install .NET Core'
  inputs:
    version: $(DotNetCoreSdkVersion)
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600'
    platform: 'netcoreapp3.0'
    description: 'No SSL'
- template: 'sidebyside-test-steps.yml'
  parameters:
    image: ${{ parameters.image }}
    unsupportedFeatures: ${{ parameters.unsupportedFeatures }}
    connectionString: 'server=localhost;port=3300;user id=mysqltest;password=<PASSWORD>;database=mysqltest;ssl mode=none;UseCompression=True;DefaultCommandTimeout=3600'
    platform: 'netcoreapp3.0'
    description: 'Compression'
{'fraction_non_alphanumeric': 0.13532338308457711, 'fraction_numerical': 0.024676616915422885, 'mean_word_length': 6.1290780141843975, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2111714', 'n_tokens_mistral': 1594, 'n_tokens_neox': 1501, 'n_words': 228}